ode45 for forced vibration with 10 dof?

is it possible to solve veolcity response of ode45 with 10 degrees of freedom(dof), if yes can you help me with some examples

8 Kommentare

naresh bhimchand
naresh bhimchand am 5 Dez. 2019
Bearbeitet: naresh bhimchand am 5 Dez. 2019
Thanks bro.Is there any other example other than this one
naresh bhimchand
naresh bhimchand am 5 Dez. 2019
Thank you bro
Aquatris
Aquatris am 5 Dez. 2019
Bearbeitet: Aquatris am 5 Dez. 2019
The number of degrees of freedom does not matter. If you put the equation of motion into xdot = Ax+Bu form (state space form), ode45 can be used to solve for x no matter the size of A and B. It is also true for nonlinear cases.
naresh bhimchand
naresh bhimchand am 6 Dez. 2019
Hi bro thanks for the comment.I have another doubt if below equation is the formulation of displacement and velocity response means what will be the acceleration response equation are we want to do differentiation once again are any other procedure is there?
function yp = unforced1(t,y)
dydt_1 = y(2);
dydt_2 = (-((c/m)*y(2))-((k/m)*y(1)));
yp = [y(2);(-((c/m)*y(2))-((k/m)*y(1)))];
What is it you would do differentiation on ?
If you need another level of integration, add another y entry, like
yp = [y(2); y(3); (-((c/m)*y(3))-((k/m)*y(2)))];
naresh bhimchand
naresh bhimchand am 6 Dez. 2019
ok, I got it bro thank you very much.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Numerical Integration and Differential Equations finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 5 Dez. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by