An error is reported when plotting the Nyquist curve with matlab. Please help me to see the problem and how to modify it?
5 ビュー (過去 30 日間)
古いコメントを表示
The code show as below:
clc;clear;
syms s;
H1=[1/s,2/s;3/s,4/s];
[V,D]=eig(H1);
D
nyquist(D);
The error message is as follows:
Error using nyquist (line 73)
Not enough input arguments.
Error in Untitled4 (line 6)
nyquist(D);
0 件のコメント
回答 (1 件)
Nishant Gupta
2020 年 1 月 21 日
編集済み: Nishant Gupta
2020 年 1 月 21 日
Refer to the documentation of nyquist function, you will find that the input argument to the function should be a system transfer function and you are passing the eigen value matrix, that's why you are getting the error.
Create transfer function of the system and then give it to nyquist function to get the plot.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Dynamic System Models についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!