You can calculate exp(at) using 'c2dm'. Refer to the following code. aa is what you want with a specific sampling time Ts.
a= [0 1;-1 -2]; Ts= 0.1;
[aa,bb,cc,dd]= c2dm(a,[],[],[],Ts)
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!