MATLAB: Solving an equation through optimization……….

optimization

Y=Ax
y is a mX1 matrix
A is a mXn matrix
x is a nX1 matrix
AA'=I
Here we apply optimization technique to solve x instead of taking inverse of A. Will you explain me why……………Please help me……..

Best Answer

inverse is only strictly defined for square matrices.
You could use pinv() or the backslash operator ('\')
Related Question