I want to observe a gain margin with variable gain. How to plot variable to gain margin, where gain of transfer function is varying in step size?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
clc
clear all
m = -2:0.1:5;
c = 25;
x = 10;
% x = 0:0.01:20;
% y = m.*x+c;
s = tf('s')
H = tf([1 m],[1 x c])
bode(H);
[Gm,Pm,Wcg,Wcp] = margin(H)
plot(m,Gm)
1 Kommentar
Sam Chak
am 26 Feb. 2022
Since
and
are constants, have you checked manually if the gain margins are finite or infinite in the desired operating range
?
Antworten (0)
Siehe auch
Kategorien
Mehr zu Control System Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!