Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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 comentarios
Dyuman Joshi
Dyuman Joshi el 11 de En. de 2024
If you have solved the question, why are you asking it here?
Dyuman Joshi
Dyuman Joshi el 14 de En. de 2024
Editada: Dyuman Joshi el 14 de En. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Gagan Agarwal
Gagan Agarwal el 14 de En. de 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 comentario
John D'Errico
John D'Errico el 14 de En. de 2024
Editada: John D'Errico el 14 de En. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by