Using Matlab To Find The State Transition Matrix

A small piece of code can be used to find the state transition matrix $exp(At)$ given the coefficient matrix $A$, using MATLAB's Symbolic Toolbox.

```
function [phi] = statetrans(A)
t = sym('t');
phi = expm(A * t);
end
```

The idea has been borrowed from here.

page revision: 1, last edited: 26 Apr 2008 03:57