Third Order ODE with unit step input
显示 更早的评论
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 个评论
Paul
2021-11-27
Have you tried using the Laplace transform technique?
Parveen Ayoubi
2021-11-27
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
2021-11-27
编辑:Walter Roberson
2021-11-27
Paul
2021-11-28
Can you show how you arrived at the equation X = ilaplace(....) ?
Walter Roberson
2021-11-28
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
2021-11-28
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
2021-11-28
Parveen Ayoubi
2021-11-28
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Equation Solving 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



