how to solve singular matrix
Mostrar comentarios más antiguos
i have a problem on singular matrix how to solve it please answer me there any method to solve it
Respuestas (2)
Fattah alizadeh
el 30 de Mayo de 2012
1 voto
It depends on the type of solution you are looking for. You can obtain the minimum norm solution using pinv, e.g.,
A=[2 0 0; 0 2 0; 0 0 0] %Clearly singular
b=[6;4;2]
pinv(A)*b %minimum norm solution
Categorías
Más información sobre Linear Algebra 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!