Which state is being plotted in multi-degree of freedom system when using bodeplot

3 ビュー (過去 30 日間)
I am using bodeplot to get frequency response curves of a 2 degree of freedom system. I use the command
>>bodeplot(sys)
and it returns a frequency response curve and a phase angle curve. sys is a state space model.
My question is, for which state is it plotting the response? There are four states but I only get one set of plots(frequency and phase). And, how to I select the state I want?

採用された回答

Raj
Raj 2020 年 1 月 13 日
Can you share your system. 'bode' or 'bodeplot' for a MIMO statespace system will give you Bode plot (Magnitude and Frequency response) from each input to each output like this example:
A=rand(2,2)
B=rand(2,2)
C=eye(size(A))
D=zeros(size(B))
system=ss(A,B,C,D)
bodeplot(system)
will give you a plot like this:
Capture.JPG
  1 件のコメント
Drew Mitchell
Drew Mitchell 2020 年 1 月 15 日
Thanks for the response. I had the wrong output matrix.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by