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 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Dyuman Joshi
am 14 Jan. 2024
Bearbeitet: Dyuman Joshi
am 14 Jan. 2024
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.
Antworten (1)
Gagan Agarwal
am 14 Jan. 2024
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 Kommentar
John D'Errico
am 14 Jan. 2024
Bearbeitet: John D'Errico
am 14 Jan. 2024
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.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!