Plot the graph of gain margin with changing variable

1 view (last 30 days)
I have a question about plotting the graph of gain margin.
Numerator of transfer function is consisted as follows
num=[2*(1-DST)*L*Iout 2*(1-DST)*(R*DST*Iout-Vin_peak-R*IL)];
I want to get the graph of gain margin according to the change of DST.
For example, the value of DST is now 0.1.
however, I set to DST = [0.1 : 0.01 : 0.5] and want to plot the graph of gain margin of transfer function.
How can I do it?
I need your help.
Thank you.

Answers (1)

Pavel Dey
Pavel Dey on 10 Jun 2016
I think this documentation link might be helpful. This explains how to work with an array of models with a single varying parameter.

Categories

Find more on Specifying Target for Graphics Output 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!