Third Order ODE with unit step input
Mostrar comentarios más antiguos
I have been trying to solve this differential equation for two days now. I do not know what to do with the right hand side of the ODE. The only way I have seen to solve it does not include the derivative of the input as well. Would really appreaciate some help atleast to know how to start it up.
y^''' (t)+6y^'' (t)+11y^'(t) +6y(t)=u^'' (t)+2u^' (t)+3u(t)
y’’(0) = 1 ; y’(0) = -1; y(0) = 1
where u=Unit step Us(t).
Ive tried to do it in simulink but the answers there havent been coming out right either.
10 comentarios
Paul
el 27 de Nov. de 2021
Have you tried using the Laplace transform technique?
Parveen Ayoubi
el 27 de Nov. de 2021
Solve the ode numerically or exactly? Can you post some code of what you've already tried and show where the sticking point is?
Parveen Ayoubi
el 27 de Nov. de 2021
Editada: Walter Roberson
el 27 de Nov. de 2021
Paul
el 28 de Nov. de 2021
Can you show how you arrived at the equation X = ilaplace(....) ?
Walter Roberson
el 28 de Nov. de 2021
X = ilaplace((s^2+5*s+6+3/s)/(s^3+6*s^2+11*s+6));
Perhaps you meant
X = ilaplace(((s^2+5*s+6+3)/s)/(s^3+6*s^2+11*s+6));
Parveen Ayoubi
el 28 de Nov. de 2021
Try as I might, I can't recreate your result. Here's what I get
syms y(t) u(t)
ode = diff(y,t,3) + 6*diff(y,t,2) + 11*diff(y,t) + 6*y(t) == diff(u,t,2) + 2*diff(u,t) + 3*u(t);
Leqn = laplace(ode);
syms Y U s y0 Dy0 D2y0
Leqn = subs(Leqn,[laplace(y(t),t,s) subs(diff(u(t), t), t, 0) u(0) laplace(u,t,s)],[Y 0 0 U]);
Leqn = subs(Leqn,[laplace(y(t),t,s) y(0) subs(diff(y(t), t), t, 0) subs(diff(y(t), t, t), t, 0) subs(diff(u(t), t), t, 0) u(0) laplace(u,t,s)],[Y y0 Dy0 D2y0 0 0 U])
Y = solve(Leqn,Y);
Y = subs(Y,U,1/s);
Y = subs(Y,[y0 Dy0 D2y0],[1 -1 1])
Parveen Ayoubi
el 28 de Nov. de 2021
Parveen Ayoubi
el 28 de Nov. de 2021
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Equation Solving en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



