Bode Plot - Сообщения
I am using Smath for calculation of stability for switching mode power supply.
Now i tried to plot a transfer function F(S) with poles and zeros but the 2D graphic cannot allow to have an logarithmic X axis.
Have you planned to add this functionality or is it possible to substitute the x array with a logarithmic ones?
Regards
Giuliano
Here is some workaround:
Bode.sm
WroteHave you planned to add this functionality or is it possible to substitute the x array with a logarithmic ones?
Yes, but it is not urgent task, so I can't say how much time it will take.
Best regards, Andrey Ivashov.
Great job, Smath is a surprise.
Bye
Giuliano
I understand that it is in your mind to add everything but for the moment could be interesting to know how to do what it is not implemented yet.
bye
Giuliano
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator
WroteA suggestion: is it possible to have a archive of all the available workaround?
I understand that it is in your mind to add everything but for the moment could be interesting to know how to do what it is not implemented yet.
bye
Giuliano
Take a look at the wiki, please. You are welcome to put any workarounds, examples etc. there, as anyone else. If you solved your problem using this help, share with us. This way we could have lots of things in one place. I can even do it for you, if you like.
Regards,
Radovan
However I see that electronics people put the phase UNDER the magnitude plot.
WroteProbably a bit early to get picky, but a real Bode plot has log frequency on the x axis, and log magnitude or dB on the Y axis, and immediately above that a second graph pane showing phase, wrapped at either +/-180 or 0-360 degrees.
However I see that electronics people put the phase UNDER the magnitude plot.
You are right. This is what I want.
Now I am trying to understand what wrote Andrey, it is a bit difficult for me (this is why I have not answer yet).
What I thought to do, is to create an array with a fixed number of points for a decade.
Use this array to calculate the transfer function instead of using x.
At the end, I plot in 2D graphic these points with logarithmic axis.
In Mathcad is something like what you find in this link
Mathcad Transfer Function
for(k:1,k
at this point it changes the layout and I can't enter "k:k+1". I downloaded the file you kindly provided, copy-pasted


I have some functions which have k=1...N/2 and I need them displayed for each of the values of k. I don't mind if they're matrix-like, I just need them displayed for any value of N previously entered.
...help?

Btw, you can simply choose for loop with 4 arguments from the Dynamic Assistance items list:
Regarding your screenshot: after passing the For loop on the top variable "k" gets a value about N/2+1 or similar. This is a number. You have no value into the vectors with such index. See pic for details:
-
Новые сообщения
-
Нет новых сообщений