Hello everyone,
I want to solve a "second order coupled ordinary differential equation". I searched a lot but could not find the solution.
Please suggest me how can I solve this.
The structure of my equation is given below,
[M]{x''} + [K]{x} = {F}
where [M], [K] are the matrices, which contain time dependent terms.
{x} vector of unknown dependent variables.
{x''} is the second derivative of the vector {x} with respect to time.
Please note that [M], [K] contains time varying terms
Looking forward for your the response.
Thanks for your time..

4 件のコメント

James Tursa
James Tursa 2021 年 5 月 25 日
Are you looking for a numeric solution with known initial values? E.g., using the ode45( ) function?
aakash dewangan
aakash dewangan 2021 年 5 月 28 日
James, I am looking for Analytical solution..
Paul
Paul 2021 年 5 月 28 日
Do you have a simple example for M, K, and F? Preferably one that you know what that solution should be?
aakash dewangan
aakash dewangan 2021 年 5 月 30 日
M, K and F contains sinusoidal terms, which depend on time. Diagonal terms of M and K are in the form of a+sin(nwt), and non diagonal terms are like sin(nbt)*sin(nct). Where a,b,c,n are some constant parameters, and t is time.

サインインしてコメントする。

 採用された回答

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021 年 5 月 25 日

2 投票

Hi,
You can employ ode solvers (ode23, ode23tb, ode45, ode113, etc) as suggested or write scripts using function handles or anonymous functions by apply Euler or Runge-Kutta methods.

2 件のコメント

aakash dewangan
aakash dewangan 2021 年 5 月 28 日
Thanks Sulaymon,
But I am looking for Analytical solution. Can you suggest me how I can solve this using Analytical approach?
Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021 年 5 月 28 日
Should you need to obtain an analytical solution, then dsolve() of Symbolic MATH toolbox needs to be employed. E..g.:
syms x(t) Dx(t) DDx(t)
Dx = diff(x, t);
DDx = diff(Dx, t);
M = [??];
K = [??];
EQN = DDx==inv(M)*(F-K*x);
SOL = dsolve(EQN, x(0)==??, Dx(0)==??)
Good luck

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by