Hello
You can refer to the documentation linked below to add a Bode plot to a Simulink model:
Also, to analyze the stabiltiy of the model based on the gain and phase margins, you can refer to the documentation below:
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!