1 страниц (3 вхождений)
plotting in SMATH - Сообщения
#1 Опубликовано: 12.10.2011 05:24:30
I am going to apologize in advance because I am fairly sure that the issue is me and not SMATH. I am having trouble plotting the Voltage gain vs. frequency.
here is the SMATH function
http://imageshack.us/photo/my-images/5/smathfile.png/
and here is the MathCAD version
http://imageshack.us/photo/my-images/638/mathcadfile.png/
Any help making this work would be helpful.
Thanks
Tony
here is the SMATH function
http://imageshack.us/photo/my-images/5/smathfile.png/
and here is the MathCAD version
http://imageshack.us/photo/my-images/638/mathcadfile.png/
Any help making this work would be helpful.
Thanks
Tony
#2 Опубликовано: 13.10.2011 02:49:33
Hello Tony,
Just read the Tutorials and Examples on Wiki regarding plotting in SMath. There is a difference in SMath between plotting 2D graphs as a function or plotting a two column matrix.
Here is your example when you wanted to plot the function M for the given range of fs, therefore to plot a two column matrix - first collum is x-axis and the second column is y-axis. I hope you would understand it.
I've just made up the needed parameters - do not know their values because you did not proved them.

Regards,
Radovan
Just read the Tutorials and Examples on Wiki regarding plotting in SMath. There is a difference in SMath between plotting 2D graphs as a function or plotting a two column matrix.
Here is your example when you wanted to plot the function M for the given range of fs, therefore to plot a two column matrix - first collum is x-axis and the second column is y-axis. I hope you would understand it.
I've just made up the needed parameters - do not know their values because you did not proved them.
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Опубликовано: 16.10.2011 23:49:24
Thanks very much for this. I didi have to replace the variable i with ii because I used the imaginary number i (sqrt(-1) in the calculation for the voltage gain M.
One other thing I found ot was that in using the range calculation (in this case 1KHz) I needed to start the range at a number above the step width of 1KHz (i.e 2kHz) in order to use the calculation.
Again... I really appreciate the help.
Tony
One other thing I found ot was that in using the range calculation (in this case 1KHz) I needed to start the range at a number above the step width of 1KHz (i.e 2kHz) in order to use the calculation.
Again... I really appreciate the help.
Tony
1 страниц (3 вхождений)
-
Новые сообщения
-
Нет новых сообщений