Factorizing a matrix with 1's along diagonal
Mostrar comentarios más antiguos
I want to factorize the follwoing matrix,
A=
2 -1 0 0
-1 2 -1 0
0 -1 2 -1
0 0 -1 1
into R*R'
where R =
-1 1 0 0
0 -1 1 0
0 0 -1 1
0 0 0 -1
I could lu(A) to factorize, but the diagonal entries of R are not -1's.
Could someone suggest if there is any other factorization technique that can be used to obtain the above R?
1 comentario
Deepa Maheshvare
el 3 de En. de 2019
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Operating on Diagonal Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!