1 Pages (3 items)
Waveforms, or similar - Messages
#1 Posted: 4/23/2010 8:23:27 PM
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.com/1910012623/waveforms_test.sm
Regards,
Vlad.
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.com/1910012623/waveforms_test.sm
Regards,
Vlad.
#2 Posted: 4/23/2010 9:49:24 PM
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:

1 Pages (3 items)
-
New Posts
-
No New Posts