MATLAB: Array Division

array

When I entered two arrays,
u = [1 2 3 4];v = [5 6 7 8];
and did the division using,
u/v
I got,
ans = 0.4023.
How to interpret the answer and what's the definition of array division like 'u/v' rather than element-wise 'u./v'?
Thanks.

Best Answer

Usually u/v is equal to u*inv(v) in matrix terms.
However, since v does not have an inverse Matlab will calculate the Moore-Penrose pseudoinverse of v instead. This can also be done directly:
u*pinv(v) = 0.4023