Nyquist plot from 0 to Inf (only frequencies > 0)

35 visualizzazioni (ultimi 30 giorni)
Maksym Zawrotny
Maksym Zawrotny il 2 Feb 2019
Risposto: M il 12 Feb 2019
Hello, I am trying to plot a Nyquist plot but only for pulsations > 0.I tried
nyquist(H, W)
Where H is my transfer function (continuous time) and W is the cell:
W = {0, inf};
Yet somehow, my plot is still from -inf to +inf. How can I change that?

Risposte (1)

M
M il 12 Feb 2019
If you specify the frequency as
W = {WMIN,WMAX}
WMIN and WMAX are real frequencies satisfying 0<=WMIN<WMAX<=Inf.
So by setting
W = {0, inf};
you're actually asking the default frequency, so you don't see any changes. Try to specify the frequency you want with:
W = linspace(-2*pi,2*pi,100);

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by