Professional Documents
Culture Documents
MATLAB Command Window
MATLAB Command Window
MATLAB Command Window
-25
24
-25
-25
>> C=A*B
C =
-135
-135
-225
-225
-25
15
>> E=A*D
E =
1225
-735
-1225
735
Page 1
Page 2
>> Exam
The exponential of At is
expAt =
[
2*exp(2*t) - exp(t), 3*exp(t) - 3*exp(2*t),
4*exp(t) - 4*exp(2*t)]
[ 6*exp(2*t) - 6*exp(t), 10*exp(t) - 9*exp(2*t), 12*exp(t) - 12*exp(2*t)]
[ 4*exp(t) - 4*exp(2*t), 6*exp(2*t) - 6*exp(t),
8*exp(2*t) - 7*exp(t)]
The exponential of Bt is
expBt =
[
exp(2*t) - 3*t*exp(t), exp(t) - exp(2*t),
exp(t) - exp(2*t) + 3*t*exp(t)]
[
exp(t) - exp(2*t),
exp(2*t),
exp(2*t) - exp(t)]
[ exp(2*t) - exp(t) - 3*t*exp(t), exp(t) - exp(2*t), 2*exp(t) - exp(2*t) + 3*t*exp(t)]
The exponential of Ct is
expCt =
[
exp(2*t) - t*exp(t),
exp(t) - exp(2*t) + t*exp(t), exp(t) - exp(2*t)]
[ exp(2*t) - exp(t) - t*exp(t), 2*exp(t) - exp(2*t) + t*exp(t), exp(t) - exp(2*t)]
[
exp(t) - exp(2*t),
exp(2*t) - exp(t),
exp(2*t)]
Verifying for A
ans =
1
Verifying for B
ans =
1
Verifying for C
ans =
1
Page 3
>> Exam
The exponential of At is
expAt =
[ exp(t*(- 2 - 3*i))*(1/2 + (2*i)/3) + exp(t*(- 2 + 3*i))*(1/2 - (2*i)/3),
(exp(t*(- 2 - 3*i))*5*i)/6 - (exp(t*(- 2 + 3*i))*5*i)/6, (28*exp(2*t))/25 + exp(t*(- 2 3*i))*(- 14/25 - (29*i)/50) + exp(t*(- 2 + 3*i))*(- 14/25 + (29*i)/50)]
[
- (exp(t*(- 2 - 3*i))*5*i)/6 + (exp(t*(- 2 + 3*i))*5*i)/6, exp(t*(- 2 3*i))*(1/2 - (2*i)/3) + exp(t*(- 2 + 3*i))*(1/2 + (2*i)/3),
- exp(2*t)/5 +
exp(t*(- 2 - 3*i))*(1/10 + (4*i)/5) + exp(t*(- 2 + 3*i))*(1/10 - (4*i)/5)]
[
0,
0,
exp(2*t)]
The exponential of Bt is
expBt =
[
exp(2*t) - 3*t*exp(t), exp(t) - exp(2*t),
exp(t) - exp(2*t) + 3*t*exp(t)]
[
exp(t) - exp(2*t),
exp(2*t),
exp(2*t) - exp(t)]
[ exp(2*t) - exp(t) - 3*t*exp(t), exp(t) - exp(2*t), 2*exp(t) - exp(2*t) + 3*t*exp(t)]
The exponential of Ct is
expCt =
[
exp(2*t) - t*exp(t),
exp(t) - exp(2*t) + t*exp(t), exp(t) - exp(2*t)]
[ exp(2*t) - exp(t) - t*exp(t), 2*exp(t) - exp(2*t) + t*exp(t), exp(t) - exp(2*t)]
[
exp(t) - exp(2*t),
exp(2*t) - exp(t),
exp(2*t)]
Verifying for A
ans =
1
Verifying for B
ans =
1
Verifying for C
Page 4
ans =
1
>> Exam
The exponential of At is
expAt =
[ exp(t*(- 2 - 3*i))*(1/2 + (2*i)/3) + exp(t*(- 2 + 3*i))*(1/2 - (2*i)/3),
(exp(t*(- 2 - 3*i))*5*i)/6 - (exp(t*(- 2 + 3*i))*5*i)/6, (4*exp(2*t))/5 + exp(t*(- 2 3*i))*(- 2/5 - (8*i)/15) + exp(t*(- 2 + 3*i))*(- 2/5 + (8*i)/15)]
[
- (exp(t*(- 2 - 3*i))*5*i)/6 + (exp(t*(- 2 + 3*i))*5*i)/6, exp(t*(- 2 3*i))*(1/2 - (2*i)/3) + exp(t*(- 2 + 3*i))*(1/2 + (2*i)/3),
(exp(t*(- 2 - 3*i))*2*i)/3 - (exp(t*(- 2 + 3*i))*2*i)/3]
[
0,
0,
exp(2*t)]
The exponential of Bt is
expBt =
[
exp(2*t) - 3*t*exp(t), exp(t) - exp(2*t),
exp(t) - exp(2*t) + 3*t*exp(t)]
[
exp(t) - exp(2*t),
exp(2*t),
exp(2*t) - exp(t)]
[ exp(2*t) - exp(t) - 3*t*exp(t), exp(t) - exp(2*t), 2*exp(t) - exp(2*t) + 3*t*exp(t)]
The exponential of Ct is
expCt =
[
exp(2*t) - t*exp(t),
exp(t) - exp(2*t) + t*exp(t), exp(t) - exp(2*t)]
[ exp(2*t) - exp(t) - t*exp(t), 2*exp(t) - exp(2*t) + t*exp(t), exp(t) - exp(2*t)]
[
exp(t) - exp(2*t),
exp(2*t) - exp(t),
exp(2*t)]
Verifying for A
ans =
1
Verifying for B
Page 5
ans =
1
Verifying for C
ans =
1
>> Exam
The exponential of At is
expAt =
[
2*exp(2*t) - exp(t), 3*exp(t) - 3*exp(2*t),
4*exp(t) - 4*exp(2*t)]
[ 6*exp(2*t) - 6*exp(t), 10*exp(t) - 9*exp(2*t), 12*exp(t) - 12*exp(2*t)]
[ 4*exp(t) - 4*exp(2*t), 6*exp(2*t) - 6*exp(t),
8*exp(2*t) - 7*exp(t)]
The exponential of Bt is
expBt =
[
exp(2*t) - 3*t*exp(t), exp(t) - exp(2*t),
exp(t) - exp(2*t) + 3*t*exp(t)]
[
exp(t) - exp(2*t),
exp(2*t),
exp(2*t) - exp(t)]
[ exp(2*t) - exp(t) - 3*t*exp(t), exp(t) - exp(2*t), 2*exp(t) - exp(2*t) + 3*t*exp(t)]
The exponential of Ct is
expCt =
[
exp(2*t) - t*exp(t),
exp(t) - exp(2*t) + t*exp(t), exp(t) - exp(2*t)]
[ exp(2*t) - exp(t) - t*exp(t), 2*exp(t) - exp(2*t) + t*exp(t), exp(t) - exp(2*t)]
[
exp(t) - exp(2*t),
exp(2*t) - exp(t),
exp(2*t)]
Verifying for A
ans =
1
Verifying for B
Page 6
ans =
1
Verifying for C
ans =
1
>> Exam
The exponential of At is
expAt =
[ exp(t*(- 2 - 3*i))*(1/2 + (2*i)/3) + exp(t*(- 2 + 3*i))*(1/2 - (2*i)/3),
(exp(t*(- 2 - 3*i))*5*i)/6 - (exp(t*(- 2 + 3*i))*5*i)/6, (28*exp(2*t))/25 + exp(t*(- 2 3*i))*(- 14/25 - (29*i)/50) + exp(t*(- 2 + 3*i))*(- 14/25 + (29*i)/50)]
[
- (exp(t*(- 2 - 3*i))*5*i)/6 + (exp(t*(- 2 + 3*i))*5*i)/6, exp(t*(- 2 3*i))*(1/2 - (2*i)/3) + exp(t*(- 2 + 3*i))*(1/2 + (2*i)/3),
- exp(2*t)/5 +
exp(t*(- 2 - 3*i))*(1/10 + (4*i)/5) + exp(t*(- 2 + 3*i))*(1/10 - (4*i)/5)]
[
0,
0,
exp(2*t)]
The exponential of Bt is
expBt =
[
exp(2*t) - 3*t*exp(t), exp(t) - exp(2*t),
exp(t) - exp(2*t) + 3*t*exp(t)]
[
exp(t) - exp(2*t),
exp(2*t),
exp(2*t) - exp(t)]
[ exp(2*t) - exp(t) - 3*t*exp(t), exp(t) - exp(2*t), 2*exp(t) - exp(2*t) + 3*t*exp(t)]
The exponential of Ct is
expCt =
[
exp(2*t) - t*exp(t),
exp(t) - exp(2*t) + t*exp(t), exp(t) - exp(2*t)]
[ exp(2*t) - exp(t) - t*exp(t), 2*exp(t) - exp(2*t) + t*exp(t), exp(t) - exp(2*t)]
[
exp(t) - exp(2*t),
exp(2*t) - exp(t),
exp(2*t)]
Verifying for A
ans =
Page 7
Verifying for B
ans =
1
Verifying for C
ans =
1
>> Exam
The exponential of At is
expAt =
[ exp(t*(- 2 - 3*i))*(1/2 + (2*i)/3) + exp(t*(- 2 + 3*i))*(1/2 - (2*i)/3),
(exp(t*(- 2 - 3*i))*5*i)/6 - (exp(t*(- 2 + 3*i))*5*i)/6, (28*exp(2*t))/25 + exp(t*(- 2 3*i))*(- 14/25 - (29*i)/50) + exp(t*(- 2 + 3*i))*(- 14/25 + (29*i)/50)]
[
- (exp(t*(- 2 - 3*i))*5*i)/6 + (exp(t*(- 2 + 3*i))*5*i)/6, exp(t*(- 2 3*i))*(1/2 - (2*i)/3) + exp(t*(- 2 + 3*i))*(1/2 + (2*i)/3),
- exp(2*t)/5 +
exp(t*(- 2 - 3*i))*(1/10 + (4*i)/5) + exp(t*(- 2 + 3*i))*(1/10 - (4*i)/5)]
[
0,
0,
exp(2*t)]
Verifying for A
ans =
1
>>