plotting in SMATH

plotting in SMATH - Messages

#1 Posted: 10/12/2011 5:24:30 AM
tb

tb

0 likes in 2 posts.

Group: User

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
#2 Posted: 10/13/2011 2:49:33 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

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
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Posted: 10/16/2011 11:49:24 PM
tb

tb

0 likes in 2 posts.

Group: User

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
  • New Posts New Posts
  • No New Posts No New Posts