What's the difference between two command?
Show older comments
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 Comment
Dyuman Joshi
on 27 Jan 2024
Could you please share the example where that particular syntax is used?
Answers (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 Comments
Dyuman Joshi
on 27 Jan 2024
Paul
on 27 Jan 2024
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
on 27 Jan 2024
Wow. I was not even born then haha.
Sam Chak
on 27 Jan 2024
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.
Categories
Find more on Dynamic System Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!