Nyquist plot with logarithmic amplitudes
Updated 3 Dec 2016
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.
Trond Andresen (2023). 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
Platform CompatibilityWindows macOS Linux
- Control Systems > Control System Toolbox > Linear Analysis > Time and Frequency Domain Analysis > Frequency-Domain Analysis >
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Small bug fixed
small bug fixed
New in February 2009: Bugs are fixed. Furthermore, the function also counts possible poles on the im-axis for the closed-loop system. This corresponds to the graph going through -1. Encirclement counting is then impossible and is disabled.
New in February 2009: Bugs are fixed. Furthermore,
A suggestion from a user is implemented: Encirclements are counted and info about poles in RHP, and open- and closed-loop (in)stability, is given.