# Thread: Diagonal Matrix in Maple

1. ## Diagonal 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

2. 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.

### procedure for diagonalize

Click on a term to search for related topics.