need help with this one,.

how do I get a diagonal matrix D whose entries are the diagonal entries of a Matrix A in maple?

thanks a lot

(Rofl)(Rofl)(Rofl)

Printable View

- Apr 11th 2010, 08:37 PMdedustDiagonal Matrix in Maple
need help with this one,.

how do I get a diagonal matrix D whose entries are the diagonal entries of a Matrix A in maple?

thanks a lot

(Rofl)(Rofl)(Rofl) - Apr 12th 2010, 04:40 AMDeadstar
Do you mean diagonalize matrix A or a matrix made up of the diagonal entries of A.

The command

with(LinearAlgebra):

D := Diagonal(A);

Will choose just the diagonal entries from matrix A.

For diagonalizing one... I'm not entirely sure but

with(LinearAlgebra):

D := JordanForm(A);

Seems to be on the right track.