The link is: https://youtu.be/jGEkmDRsq_M
2:41 I use the same code as Brian, But the bode plot are different. So maybe I am wrong? or the video uses wrong figure? I can't figure it out.
Can anyone help me check it?
>>G=tf([1 2],[1 3 1]);G_delay=tf([1 2],[1 3 1],'InputDelay', 1);G_RHP_zero=tf([-1 2],[1 3 1]);bode(G);hold all; bode(G_delay);bode(G_RHP_zero)
4:18 The code in the video reports an error.
>>step(G,G_delay,G_RHP_zero)
Error using DynamicSystem/step (line 95)Plots must be of the same type and size to be superimposed.
Best Answer