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.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License