Plot Nyquist Didactic

버전 2.2.0 (58.6 KB) 작성자: fhz
A very simple function to understand Cauchy's argument principle and Nyquist Stability Criterion with 4 preprogrammed contours.
다운로드 수: 290
업데이트 날짜: 2023/4/1

라이선스 보기

A didactic plot to understand and to present the Cauchy's argument principle (complex Mapping Theorem) and the Nyquist Stability Criterion.
The are four preprogrammed contours given by the variable "op".
'ret'; pts = [x0,y0, x1,y1]; % The vertices of a rectangle
'circle'; pts = [R, xc,yc]; % The radius and center of a circle
'ny_base'; pts = [R, xc,yc]; % The radius of a right semicircle and its center
'ny_desv'; pts = [R, xc,yc, epsilon]; % 'nybase' with a semicircle detour of radius epsilon.
'ny_desv_neg'; pts = [R, xc,yc, epsilon]; % 'ny_desv' through the left half complex plane.
Each preprogrammed contour is presented in four different colors and linestyles, enabling a fast understanding of the direction of the contour and the relationship between the contour in the s-plane and transformed one in the F(s)-plane.
Two possible animations:
1 - Both paths are drawn at the same time.
2 - After plotting the contour and the transformed contour, it is possible to run an animation of a point moving around both paths.
Update 2.0.0
Minor erros on axis during animations corrected.
Change from a step-size-based path construction to a number-of-elements based construction.
Update 2.1.0
Animated comparison of Nyquist, Bode and Nichols plots.
fc_lib_animate_pt_xy_without_sobrepo_sub_BodeNyqNich
fc_lib_animate_pt_xy_without_sobrepo_sub_BodeNyquist
A future release might contain an interative interface with those plots.
Update 2.2.0
Add 'ny_desv_neg', which does the nyquist contour with a detour on the left half of the complex plane.

인용 양식

fhz (2024). Plot Nyquist Didactic (https://www.mathworks.com/matlabcentral/fileexchange/73829-plot-nyquist-didactic), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2017a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Contour Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
2.2.0

Add 'ny_desv_neg', which does the Nyquist contour with a detour on the left half of the complex plane.

2.1.0

Added animations with Bode and Nichols plots.

2.0.0

Minor erros on axis during animations corrected.
Change from a step-size-based path construction to a number-of-elements based construction.

1.1.0

- Created a new function with an animation and also another kind of animation showing a marker moving around both paths.
- Updated outputs of the function.
- Changed standard of figure usage.

1.0.0