# Matrix of ODE's in MATLAB

1. Aug 2, 2006

### juef

Hey all,

Consider the system $$X' = f(X)$$, where $$X$$ is a square matrix. I would like to solve this system with MATLAB, but all of its solvers require $$X$$ to be a column vector.

Of course, it would be possible to rewrite $$X'$$ and $$f(X)$$ as column vectors, but I guess some efficiency would be lost. It would also be a lot of pain to do :grumpy:

So, does anyone know of a simpler way to do such a thing? Thank you!!

2. Aug 2, 2006