A=rand(3,4)
%inv(A)
pinv(A)*A
A*pinv(A)