nyquist_extended

Version 1.2 (3.35 KB) by Diego Caccavo
Nyquist plot with closure at infinity v.1.2
160 Downloads
Updated 5 Jul 2023

View License

This (didactic) function takes a transfer function (rational or with time delay) as input and calculates the Nyquist contour in the s-plane while bypassing the poles located on the imaginary axis.
Then, this Nyquist contour is used to perform the mapping by taking into account the contributions of the poles and zeros.
The delay is accounted considering its impact on the phase.
The resulting output is the Nyquist plot in the w-plane with the closure at infinity. It also provides information about the poles located on the imaginary axis, including their impact in terms of angles on the w-plane.

Cite As

Diego Caccavo (2026). nyquist_extended (https://www.mathworks.com/matlabcentral/fileexchange/129319-nyquist_extended), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with R2021b and later releases
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.2

- Code cleanup
- The MATLAB Nyquist plot has been removed from the output graph
- A more rigorous approach for negative transfer constants has been used (line 88-92).

1.1

- Phase angle calculation has been corrected to works also with TF with positive zeros and/or negative transfer constants.
- The MATLAB Nyquist plot has been incorporated into the output graph, facilitating the verification of response accuracy.

1.0.4

Corrected output angles in case of negative transfer constant and only poles

1.0.3

Nyquist plot adjusted in case of no zeros and negative transfer constant

1.0.2

Improved plot for negative gain with only poles

1.0.1

Angles adjustment in case of dead time

1.0.0