Results for eig function

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?

 Accepted Answer

Use
format longE
Best wishes
Torsten.

More Answers (0)

Categories

Find more on Linear Algebra in Help Center and File Exchange

Asked:

B
B
on 22 Nov 2017

Answered:

on 22 Nov 2017

Community Treasure Hunt

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

Start Hunting!