solving coupled differential system

조회 수: 2 (최근 30일)
saman ahmadi
saman ahmadi 2020년 4월 25일
댓글: saman ahmadi 2020년 4월 30일
Hello. I am trying to solve two coupled differential equation as below:
m1x"+m2ry"=-k1(2x1-x2-x0)
m2x"+Ay"=-k2x1+Ky-f
Note: m1,m2,k1,k2,x2,x0,A,k2,K,f are known
thanks alot
  댓글 수: 1
John D'Errico
John D'Errico 2020년 4월 25일
편집: John D'Errico 2020년 4월 25일
Why was it necessaryu to ask this question twice? I've closed the other one you asked.

댓글을 달려면 로그인하십시오.

답변 (1개)

Radu Trimbitas
Radu Trimbitas 2020년 4월 25일
Dear Saman,
If set x=u(1), x'=u(2), y=u(3), y'=u(4) and
M=[1,0,0,0; 0, m1,0,m2; 0,0,1,0; 0, m2,0,A], then the system becomes
[u(2); -k1*(2*x1-x2-x0); u(4);-k2*x1+K*u(3)-f];
M could be seen as a mass matrix and can be introduced using option Mass in odeset function, see the attachment.
  댓글 수: 2
saman ahmadi
saman ahmadi 2020년 4월 25일
thanks alot Dear Radu Trimbitas
saman ahmadi
saman ahmadi 2020년 4월 30일
dear Dear Radu
Hi. i can solve this problem using your guidenc, now,how can i plot frequency graph for this problem?(i change primary equations to ode)
thanks alots

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by