MATLAB: How to give initial condition as array in ode45

initial conditionmatrix-as initial conditionode45

I want to enter initial condition of 6×6 matrix in ode45.
How to do that? Any idea.
Please help

Best Answer

The ode45 initial conditions have to be a vector.
You have my interest, though. Why do you want them to be a matrix?
Related Question