Hello all,
I have a complex set of ODE in the form :
y1'' = f(y1',y1,y2'',y2',y2,y3'',y3',y3,y4'',....,y6'',y6',y6,u1,u2,u3,u4) ; y2'' = f(y1'',y1',y1,y2',y2,y3'',y3',y3,y4'',....,y6'',y6',y6,u1,u2,u3,u4) and so on ... y6''=(...)
As I want to resolve this coupled systeme in matlab using @ODE45... I wanted the equations in the form : y1''=f(y1',y1,y2',y2,....) and so on ... => X'[] = f(X[],U[])
So I have defined a NonlinearStateSpaceModel from my 6 very long ODE equations but it is very complex (12 states, 12 outputs, 4 inputs, 6 ODE)...
Mathematica had created the state space model and I'd like to extract the equations from the model ... The equations I want are in memory but I cannot visualize these because the are too big...
Is there a way to extract them so I can use them in matlab ?
Thanks you a lot...