How do I plot the bode plot of this transfer function?

조회 수: 4 (최근 30일)
Real Name
Real Name 2016년 12월 28일
답변: Suhan 2017년 1월 3일
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.

채택된 답변

Suhan
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개)

카테고리

Help CenterFile Exchange에서 Frequency-Domain Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by