Unobtainable bode plot ?

1 次查看(过去 30 天)
aaa
aaa 2011-11-2
Hi,
I am using the bode( and margin( functions. (both are used to make Bode plots)
The issue I am having is with getting the proper "Matlab" form for plotting. it is given here
since i would like to plot the bode plot, matlab needs the transfer function to be in terms of s. in my case, s = j*w_n. However, in the denominator of my transfer function, there is a dependency on 1/(w_n)^2. Using the tf( call convention, i do not believe i can input this transfer function based on what i know.
Does anyone know a way to solve this, or a different way to plot without using tf(? I could not find an obvious way to rewrite and simplify the equation in a form that would satisfy matlab, but at the same time, i highly doubt that it would be "impossible" to plot this.
thanks for all suggestions.

回答(1 个)

Craig
Craig 2011-11-18
You might want to try this
(j*w_n)^2 = -w_n^2
then you can rewrite the w_n^2 term.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by