How do I make make one pode plot form a MIMO State-Space equation
Show older comments
I have a State-Space equation which has matrices insice the A, B and C matrices, how do I get one (combined) bode plot from the four seperate bode plots?
this is my code
%% Defining EOM matrices
M0 = [ms 0;
0 IA];
K0 = [k1+k2 k1*lA1-k2.*lA2;
k1*lA1-k2.*lA2 k1*lA1^2-k2*lA2.^2];
D0 = [-d1-d2 0;
0 0];
%% Identity and zero matrix
I = eye(2);
Zero = zeros(2,2);
%% Defining State Space equations
A = [Zero I;
-inv(M0)*K0 -inv(M0)*D0];
B = [Zero;
-inv(M0)*I];
C = [I Zero];
D = 0;
sys_mimo = ss(A,B,C,D)
bodeplot(sys_mimo)
Thanks in advance
2 Comments
Luna
on 27 Nov 2018
What are those variables? (ms, IA, k1,k2,... etc. )
Provide all the code or variable definitions.
Pascal van Bakel
on 27 Nov 2018
Accepted Answer
More Answers (0)
Categories
Find more on Time and Frequency Domain Analysis 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!