Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Please, someone help me with using state space
조회 수: 1 (최근 30일)
이전 댓글 표시
Anyone, Can help me with solving this Differential equation using state space method?
Mu” + Cdu’ + Ku = u”g
n = 2
Cd = [ 3.24 0 ; 0 3.3 ] ;
K = [ 150 -150 ; -150 300 ] ;
M = [ 50 0 ; 0 50 ] ;
u" = (N,1) where N > 1000
t = 0 : 30
A= [ zeros(n,n) , eye(n,n) ; -K/M , -Cd/M ]
B= [ zeros(n,1) ; -ones(n,1) ]
C= [ eye(n,n) , zeros(n,n) ]
D= zeros(n,1)
Does this code can solve it?
Sys = ss( A, B, C, D )
y =lsim( sys,U,t )
Dose it give exact solution?
Thanks, your support and help will be appreciated
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!