The code:
format short;
A=[13 14;
29 30];
B= A^10;
disp(B);
C=det(B);
disp("Determinant is");
disp(C);
% That is approximately zero.
e=eig(B);
disp(e);
The output:
1.0e+16 *
0.7195 0.7535
1.5607 1.6344
Determinant is
2.0499e+15
1.0e+16 *
0
2.3539
What does the output value of the eig function mean? I thought it was supposed to be the eigenvalues. Does the 1.0e+16 * 0 mean actual multiplication?

 Akzeptierte Antwort

Torsten
Torsten am 22 Nov. 2017

0 Stimmen

Use
format longE
Best wishes
Torsten.

Weitere Antworten (0)

Kategorien

Mehr zu Linear Algebra finden Sie in Hilfe-Center und File Exchange

Gefragt:

B
B
am 22 Nov. 2017

Beantwortet:

am 22 Nov. 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by