Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Solving coupled ODE's by ode45

1 回表示 (過去 30 日間)
sara kian
sara kian 2013 年 3 月 9 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi, I am trying to solve a set of 4 coupled equations but I don't know which initial condition I should use? would you please help me?
Maybe I have to define initial condition in a not-zero position,so which command I have to use?
Thanks,
Sara
  2 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 3 月 9 日
Where are your equations?
sara kian
sara kian 2013 年 3 月 9 日
Hi; I attached equations,I have to define boundary condition for A,B
Regards, Sara
dx_dt(1)=((-1j*26.46*10^7)*exp(-j*1.252*(10^7)*t))*x(2)+((-1j*7.686*10^7)*exp(-j*1.252*(10^7)*t))*x(4);
dx_dt(3)=((-1j*7.686*10^7)*exp(-j*1.252*(10^7)*t))*x(2)+((-1j*36.54*10^7)*exp(-j*1.252*(10^7)*t))*x(4);
dx_dt(2)=((1j*26.46*10^7)*exp(j*1.252*(10^7)*t))*x(1)+((1j*7.686*10^7)*exp(j*1.252*(10^7)*t))*x(3);
dx_dt(4)=((1j*7.686*10^7)*exp(j*1.252*(10^7)*t))*x(1)+((1j*36.54*10^7)*exp(j*1.252*(10^7)*t))*x(3);

回答 (1 件)

Jan
Jan 2013 年 3 月 10 日
Note: 7.686e7j is much faster than 1j*7.686*10^7.
You do not need a special command to get the initial values. You can set it to any [1 x 4] vector, which satisfy your problem.

この質問は閉じられています。

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by