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 Commenti

naresh bhimchand
naresh bhimchand il 5 Dic 2019
Modificato: naresh bhimchand il 5 Dic 2019
Thanks bro.Is there any other example other than this one
Thank you bro
Aquatris
Aquatris il 5 Dic 2019
Modificato: Aquatris il 5 Dic 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.
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)))];
ok, I got it bro thank you very much.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Numerical Integration and Differential Equations in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by