What's the difference between two command?
이전 댓글 표시
Hello,
In general, the command of nyquist plot is nyquist(sys,omega), but an example of textbook the command of nyquist is nyquist(A,B,K,0,1,w), where (A,B : matrices from state space equation, K : control gain, w : frequency range).
What's the difference between the two commands?
댓글 수: 1
Dyuman Joshi
2024년 1월 27일
Could you please share the example where that particular syntax is used?
답변 (1개)
That's the old, obsolete form of nyquist() that was used for state space models before the Control System Toolbox introduced lti objects like ss and tf.
f = which('nyquist','-all')
dbtype(f{1},'35:58')
댓글 수: 4
Dyuman Joshi
2024년 1월 27일
Paul
2024년 1월 27일
That syntax is as old as the Control System Toolbox itself, so nearly as old as the first commerical release of Matlab. If you're asking when ss and tf were implemented, that was probably around V5 would be my guess, so mid-90's.
Dyuman Joshi
2024년 1월 27일
Wow. I was not even born then haha.
Sam Chak
2024년 1월 27일
The original Nyquist code was written in 1985.
% J.N. Little 10-11-85
% Revised ACWG 8-15-89, CMT 7-9-90, ACWG 2-12-91, 6-21-92,
% AFP 2-23-93, 10-1-94
% Copyright 1986-2003 The MathWorks, Inc.
카테고리
도움말 센터 및 File Exchange에서 Dynamic System Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!