Hello I would like to add annotations to my bode plot exactly like
Here is my code to the systems
TF1=tf(1,[1 1]);
TF2=tf(16,[1 4 16])
bode(TF2,'b--',TF1*TF2,'g')
grid on
legend('w/o actuator','w/ actuator')

댓글 수: 3

Mehmed Saad
Mehmed Saad 2020년 5월 4일
편집: Mehmed Saad 2020년 5월 4일
it is easy to add line and text in plots directly from figure. Go to insert tab in menubar of figure and select whatever you want to draw on figure
if you want to do it by coding, see here
Mirlan Karimov
Mirlan Karimov 2020년 5월 4일
textbox1 = uicontrol('Position',[0 0 0 0],'Style', 'text','Units','norm','fontweight','bold','fontsize',14);
set(textbox1, 'String', 'Your Text Goes Here');
By the vector shown in bold, you can play around with the position of the textboxs
Missael Hernandez
Missael Hernandez 2020년 5월 4일
The line would have to be -20dB. How would I do that?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Get Started with Control System Toolbox에 대해 자세히 알아보기

태그

질문:

2020년 5월 4일

댓글:

2020년 5월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by