How do I plot the bode plot of this transfer function?
4 次查看(过去 30 天)
显示 更早的评论
y = 1./((Z0./Zl).^2 * j.*sin(B .* d)/2 + exp(j .* B .* d).*(1 + Z0 ./ Zl))
I've been just doing plot(x,abs(y)). Will this yield the bode plot? I checked the documentation for the bode plot but I am not really understanding how to get my formula into a dynamic system model.
0 个评论
采纳的回答
Suhan
2017-1-3
I understand that you would like to obtain the bode plot of a dynamic system in MATLAB.
Although I did not understand the terminology you have used in the equation you had mentioned in the question, I would like to point out a few things in general context.
First of all, assuming 'x' as input and 'y' as the output of the dynamic system, the plot(x, abs(y(x))) does not give you the Bode plot. Note that Bode plot is in logarithmic scale and it requires the transfer function corresponding to the linear system.
In order to use 'bode()' in MATLAB, you need to first get the state space or transfer function representaion of your linear (or linearised) system. This information is given as input to the 'bode()' function. Once you have this, use the following documentation on bode() function to know more about its use: https://in.mathworks.com/help/control/ref/bode.html
I hope you will find this post useful.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!