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

13 次查看(过去 30 天)
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?

回答(1 个)

M
M 2019-2-12
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);

类别

Help CenterFile Exchange 中查找有关 Time and Frequency Domain Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by