editing a nyquist figure
Mostrar comentarios más antiguos
How can I edit a nyquist figure or how can I plot a nyquist diagram using MATLAB such that it just consists positive frequencies and not negative ones ?
Respuesta aceptada
Más respuestas (2)
You can use the following code to turn of plotting of the negative frequencies within your code. Spares you the time to disable them manually in the plot window as suggested by Teja.
num= [-1 1]; %numerator
den= [2 2]; %denominator
G = tf(num,den)
%-------------- Nyquist diagramm --------------------------
plotoptions= nyquistoptions('cstprefs') ; % default options
plotoptions.ShowFullContour = 'off'; % exclude negative frequencies
nyquist(G,plotoptions)
1 comentario
Nick Dienemann
el 24 de Mayo de 2022
find https://de.mathworks.com/help/control/ref/nyquistoptions.html for more options concerning the nyquist plot.
Arnaud Miege
el 28 de Mzo. de 2011
0 votos
" nyquist(sys,w) explicitly specifies the frequency range or frequency points to be used for the plot. To focus on a particular frequency interval, set w = {wmin,wmax}. To use particular frequency points, set w to the vector of desired frequencies. Use logspace to generate logarithmically spaced frequency vectors. Frequencies should be specified in rad/sec."
Either specify a positive frequency interval or a vector of positive frequencies.
HTH,
Arnaud
1 comentario
mona faraji
el 29 de Mzo. de 2011
Categorías
Más información sobre Pulsed Waveforms en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
