How do I make make one pode plot form a MIMO State-Space equation
显示 更早的评论
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 个评论
Luna
2018-11-27
What are those variables? (ms, IA, k1,k2,... etc. )
Provide all the code or variable definitions.
Pascal van Bakel
2018-11-27
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Time and Frequency Domain Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!