Large Sparse Rectangular Over-determined Equation System (to reorder or to not reorder)
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jason Nicholson
el 27 de Mzo. de 2016
Respondida: Jason Nicholson
el 30 de Mzo. de 2016
I have a sparse rectangular matrix A of size m x n. m > n always. I want to solve this system of equations in a least squares manor. I know that I can use the following:
x = A\b
- However, should I form (A'A) and run a reordering algorithm such as amd(), symamd(), or symrcm()?
- What are the recommended steps to solve this type of equation system efficiently and as fast as possible?
Note I know basic linear algebra but the details of what I should be picking for algorithm or approach are beyond me for this type of problem. Any expert recommendations are welcomed.
0 comentarios
Respuesta aceptada
Más respuestas (2)
Adithya Addanki
el 29 de Mzo. de 2016
Hi Jason,
Please find the below links that may answer your questions:
If A is sparse then MATLAB uses QR solver. Following this information, if you refer to the link down below: http://www.mathworks.com/help/matlab/math/sparse-matrix-operations.html#f6-14516
This gives an overall view of what criteria should the matrix fall into for respective factorization methods adopted.
I hope this helps.
Thank you,
Adithya
Ver también
Categorías
Más información sobre Sparse Matrices en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!