Determine the inverse of store it as . Determine Row echelon form of given matrix and store it as R. Determine the rank of a

조회 수: 2 (최근 30일)
Monisha
Monisha 2024년 1월 11일
편집: John D'Errico 2024년 1월 14일
The Eigen values give the displacement of an atom or a molecule from its equilibrium position and the direction of displacement is given by eigen vectors.
(i) Store the matrix as A.
(ii) For the above matrix A determine the Eigenvalues and store them in E.
(iii) Determine the inverse of A store it as B.
(iv) Determine Row echelon form of given matrix and store it as R.
(v) Determine the rank of A and store it as r.
  댓글 수: 6
Dyuman Joshi
Dyuman Joshi 2024년 1월 11일
If you have solved the question, why are you asking it here?
Dyuman Joshi
Dyuman Joshi 2024년 1월 14일
편집: Dyuman Joshi 2024년 1월 14일
Since this is obviously a homework assignment and OP has not replied to my or @Torsten's queries in more than 3 days, I will be closing the question, if OP does not respond soon.

댓글을 달려면 로그인하십시오.

답변 (1개)

Gagan Agarwal
Gagan Agarwal 2024년 1월 14일
Hi Monisha
I understand that you are trying to perform basic operations on a Matrix. Please refer to the following code for achieving the required results.
% (i) Store the matrix as A.
A = [1, 1, 3; 1, 3, -1; -2, -4, -4];
% (ii) For the above matrix A determine the Eigenvalues and store them in E.
E = eig(A);
% (iii) Determine the inverse of A store it as B.
if det(A) ~= 0
B = inv(A);
else
disp('Matrix A is singular and cannot be inverted.');
end
% (iv) Determine Row echelon form of given matrix and store it as R.
R = rref(A);
% (v) Determine the rank of A and store it as r.
r = rank(A);
  댓글 수: 1
John D'Errico
John D'Errico 2024년 1월 14일
편집: John D'Errico 2024년 1월 14일
Please do not do obvious homework assignments for students who have made no effort. In this case, @Monisha has posted several of their assignments. (I caught the others, and recall having closed them in time.) You do them no service by doing their homework for them, except to teach them there is always some poor sot willing to do their work. It teaches them to keep on posting homework with no effort made.
Worse, it actively hurts the site, bec ause not only will they post again, hoping to find someone else willing to do their work for them. But it also convinces other students to do the same.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by