Why can't I get the same plot as the official tutorial video? (non-minimal phase system)
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Plot Customization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!