I want to find the basis of null space in matlab. I know that I can find it by simply running ns = null(A,'R') or Z = null(A) but I was wondering what would be the way to that by "hand". What I wanna way is; Is there a way to find the null space basis of a matrix by running many for loops and ifs? If yes could you please help
Asked
Active
Viewed 4,426 times
1
I.suck.Math.
- 13
2 Answers
0
Is there a way to find the null space basis of a matrix by running many for loops and ifs
Yes.
Wikipedia explains how you can use the Singular Value Decomposition to determine a basis for the nullspace of a matrix. The question then becomes "How do you calculate the SVD?", which wikipedia also answers, though its answer does not seem particularly enlightening. Maybe this is of more use.
Wouter
- 7,673
-
Well, thanks for sharing but I don't think I'll be able to write that in matlab code, I am not so good :p – I.suck.Math. Apr 01 '16 at 07:12