image thumbnail

Nyquist plot with logarithmic amplitudes

version 1.6.0.0 (5.78 KB) by Trond Andresen
Logarithmically scaled Nyquist plot: viewing problems due to near-infinite amplitudes are avoided.

11.3K Downloads

Updated 03 Dec 2016

View License

A polar diagram where the amplitude of the open-loop transfer function h0 is on a logarithmic scale, is presented. This gives a one-size-fits-all diagram with less need for zooming in and out, and no need for additional reasoning about infinite-radius encirclements when there are poles on the imaginary axis -- as opposed to what is often necessary with the standard polar (Nyquist-) diagram. All properties needed for stability considerations are upheld, such as encirclements, gain and phase margins. The path for s in the loop transfer function is carefully chosen with regard to possible poles on the imaginary axis. Small excursions into the right half plane in the form of arcs of different-sized logarithmic spirals result in corresponding large but finite arcs for h0 that do not overlap in the logarithmic polar plots.
Encirclements are counted and info about poles in RHP, and open- and closed-loop (in)stability, is given.
New in February 2009: Bugs are fixed related to encirclement counting.
An added functionality is now that the function also counts poles on the im-axis for the closed-loop system, if any. If such poles exist, this corresponds to the graph going through -1. Encirclement counting is then impossible and is disabled.
Note: the program at this stage works only for SISO and continuous-time systems.

Cite As

Trond Andresen (2021). Nyquist plot with logarithmic amplitudes (https://www.mathworks.com/matlabcentral/fileexchange/7444-nyquist-plot-with-logarithmic-amplitudes), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!