How can I plot the magnitude and phase Bode diagrams (of an SISO model) asis shown in bode function?
조회 수: 3 (최근 30일)
이전 댓글 표시
All the answers I saw has not answered the question, and I spent an entire day just to show those diagrams.
I have troubles especially in transforming the x axis as is used in bode and bodemag plots.
In my implementation I just get frequencies going from 1 to one.
댓글 수: 1
Paul
2023년 4월 29일
Hi Bogdan -Ervin,
Can you show a simple example, with code, that illustrates the plot you're making and then explaining how you'd like it to look?
답변 (1개)
Ranjeet
2023년 5월 2일
Hi Bogdan,
I would suggest you the following link to get started with bode plots of a SISO system.
Also, I would suggest you see the following example to plot for specified frequency range –
For example, you can change the following code snippet
H = tf([-0.1,-2.4,-181,-1950],[1,3.3,990,2600]);
bode(H,{1,100})
grid on
to
H = tf([-0.1,-2.4,-181,-1950],[1,3.3,990,2600]);
bode(H,{1,1000})
grid on
to change the frequency range between 1 and 1000 Hz. Here, final frequency has been changed from 100 to 1000.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Classical Control Design에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!