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?

 채택된 답변

Torsten
Torsten 2017년 11월 22일

0 개 추천

Use
format longE
Best wishes
Torsten.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Linear Algebra에 대해 자세히 알아보기

질문:

B
B
2017년 11월 22일

답변:

2017년 11월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by