A second order mass, damper, spring system can be solved from
syms h(t) m c k h0 dh0 C10 C11Dh=diff(h(t),t);eqs = m*diff(h(t), t, t) == -c*Dh-k*h(t);sol=dsolve(eqs);h0=subs(sol,t,0);dh0=subs(diff(sol,t),t,0);
How to rewrite the solution (sol) using the initial condtions (h0, dh0)? I am trying to determine the transition matrix, given h, dh at time 0, find the transition matrix, X, to give h, dh at later time t. I'm looking for a solution like
ic=solve({h0,dh0},{C10, C11})
Best Answer