Hi,
I'm trying to plot the following transfer function as a bode plot in matlab (tried posting in the mathworks forums but no luck)
it appeared to be a trivial task, but here i am. The problem is that to be able to plot in Matlab, the transfer function needs to be in a certain form
e.g. A s^2 + B s + C
so basically, i need to have an expanded form in terms of s = j*w_n. For my above equation, there is a 1/w_n term in the denominator, which, in the bode plot varies and makes matlab unhappy when calling the tf( function call.
I tried to expand the denominator but even then, you always have a w_n term that doesn't have imaginary part j, which means you cannot rewrite it as s.
Does anyone have a way around this? or some tricks to simplify this transfer function?
I'm trying to plot the following transfer function as a bode plot in matlab (tried posting in the mathworks forums but no luck)
it appeared to be a trivial task, but here i am. The problem is that to be able to plot in Matlab, the transfer function needs to be in a certain form
e.g. A s^2 + B s + C
so basically, i need to have an expanded form in terms of s = j*w_n. For my above equation, there is a 1/w_n term in the denominator, which, in the bode plot varies and makes matlab unhappy when calling the tf( function call.
I tried to expand the denominator but even then, you always have a w_n term that doesn't have imaginary part j, which means you cannot rewrite it as s.
Does anyone have a way around this? or some tricks to simplify this transfer function?
Last edited: