clcclear allclose allsyms tA = [-1, 1, 0; 1,-2, 1; 0, 1, -1];[P,D] = eig(A)Phi = P*expm(D*t)*inv(P)thetanot=[0.1;0.3;0.2]t_t=Phi*thetanotdt = 1/1000;t = 0:dt:1000*dt;S1=sum(t_t(1,1))
Where S1 =
How do I plot the S1 with t ?
Best Answer