Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline cos_phi  
#1 Posted : 24 April 2010 03:23:27(UTC)
cos_phi


Rank: Advanced Member

Groups: Registered
Joined: 20/04/2010(UTC)
Posts: 33

This seemed a bit different than "Bode" thread earlier, so I opened a new one.

Suppose I have frequency given, I can calculate w=2*pi*f , I even have units. But if I want to go further and set up a signal, u(t):=U*sin(wt), I would need to define t as a variable. The only way I have seen this possible is by assigning t:=range(x,y,optional_z). This is fine until now, but if I want to plot u(t), it doesn't show a thing, but it calculates for some 6.2 sec. I thought it doesn't like units so I removed them, this time it calculates for about 5.5 sec, but still nothing. Am I doing something wrong or should I just wait?

If you're interested, here's the file:
http://www.easy-share.co...012623/waveforms_test.sm


Regards,
Vlad.
Offline Andrey Ivashov  
#2 Posted : 24 April 2010 04:49:24(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,388
Man
Russian Federation

Was thanked: 1624 time(s) in 545 post(s)
SMath Studio requires to use "x" as a variable of function to plot inside of the Plot region. Also, to avoid "Units don't match" error you should specify Unit of the function's argument. Here is the results:
Offline cos_phi  
#3 Posted : 24 April 2010 15:56:58(UTC)
cos_phi


Rank: Advanced Member

Groups: Registered
Joined: 20/04/2010(UTC)
Posts: 33

Thank you, I meant to say that I tried u(x) but I didn't add units. Btw, Ctrl+Space doesn't work in graph and neither autocomplete, but Ctrl+U does; if it's meant to happen that way, don't mind this.


Regards,
Vlad.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.