Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Computation of the matrix exponential
Replies: 6   Last Post: Feb 10, 2013 5:00 AM

 Search Thread: Advanced Search

 Messages: [ Previous | Next ]
 Mircea GURBINA Posts: 1 From: Romania, Timisoara Registered: 2/10/13
Re: Computation of the matrix exponential
Posted: Feb 10, 2013 5:00 AM
 Plain Text Reply

You can try:
[V, D] = eig(A);
ans= V*diag(exp(diag(D)))/V % <=> expm(A)

% Give me, please, the final compute for Phi1!
% I need to compute Phi1=expm(A1*dn*Ts):
syms R Rl1 Rl2 C1 C2 L1 L2 Ci Ri r Ts s dn;
R=100; C1=22e-6; C2=5e-6; Ts=16.667e-6; r=1; L1=15e-3; Rl1=0.5; Rl2=0.5; L2=15e-3; A=1e4; Ci=16.667e-9; Ri=1e3;
A1=[-Rl1/L1 0 0 0 0;
0 -Rl2/L2 1/L2 -1/L2 0;
0 -1/C1 -1/(Ri*C1) 0 1/((Ri*C1)*(A+1));
0 1/C2 0 -1/(R*C2) 0;
0 0 1/(Ri*Ci) 0 -1/((Ri*Ci)*(A+1))];
Phi1=expm(A*dn*Ts)
mirceagurbina@yahoo.com

Date Subject Author
5/24/10 luca
5/24/10 Chip Eastham
5/25/10 Chip Eastham
5/25/10 luca
5/25/10 Chip Eastham
5/29/10 robin
2/10/13 Mircea GURBINA

© The Math Forum at NCTM 1994-2018. All Rights Reserved.