There are two types of division. One is forward division, which is supported by the forward slash operator, /. The other is the backward division, which is supported by the backslash operator, \.
A/B is equivalent to A*inv(B) when B is square, where inv means inversion. It is equivalent to A*pinv(B) when B is not square, where pinv means pseudo-inverse. A and B must have the same number of columns.
A\B is equivalent to inv(A)*B when A is square. It is equivalent to pinv(A)*B when A is not square. B and A must have the same number of rows.
As in matrix multiplication, element wise operation is also supported for the forward division.
>> a=[1,2,3]; b=[4,5,6]; c = a ./ b; print(c)
[Matrix] 1 x 3
0.25 0.4 0.5