MATLAB Answers

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

1 view (last 30 days)
Drew  Mitchell
Drew Mitchell on 11 Jan 2020
Commented: Drew Mitchell on 15 Jan 2020
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?

  0 Comments

Sign in to comment.

Accepted Answer

Raj
Raj on 13 Jan 2020
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

More Answers (0)

Sign in to answer this question.