Prev: Subclassing modem class
Next: Angle between two vectors
From: ben harper on 23 Feb 2010 18:43 i have a 4x22 matrix. how can i understand if it's singular? i tried, "inv" and "det" but the error says that my "matrix is not square" so how can i find out the singularity? thank you.
From: Matt Fig on 23 Feb 2010 18:57 For reference: http://mathworld.wolfram.com/SingularMatrix.html
From: pipa on 23 Feb 2010 19:09 inv is for square matrix only...for rectangular matrices use pinv which provides an answer in least square sense. Not sure if thats what u were looking for...
From: John D'Errico on 23 Feb 2010 19:23 "ben harper" <controlusc(a)gmail.com> wrote in message <hm1p69$orc$1(a)fred.mathworks.com>... > i have a 4x22 matrix. > how can i understand if it's singular? > > i tried, "inv" and "det" but the error says that my "matrix is not square" > so how can i find out the singularity? > > thank you. help rank john
From: ben harper on 24 Feb 2010 02:59 "pipa " <balwindersingh(a)gmail.com> wrote in message <hm1qn1$1s2$1(a)fred.mathworks.com>... > inv is for square matrix only...for rectangular matrices use pinv which provides an answer in least square sense. Not sure if thats what u were looking for... thank you very much. this helps.
|
Pages: 1 Prev: Subclassing modem class Next: Angle between two vectors |