Right Matrix Division

Right Matrix Division (B/A) is defined as solving the equation xA = B.

Depending on whether A is square, under determined, or over determined, the way to solve this solution is different. When A is square, x = B*inv(A). If A is over determined, the least squares solution is produced. If A is underdetermined, the least squares solution with the minimum norm is produced.

Table 1.
/ Scalar Row Vector Column Vector Matrix
Scalar Divides the first by the second scalar. x = B/A solves xA = B using right matrix division.
Row Vector Divides each index of the row vector by the scalar, resulting in a row vector the same size as the original vector. x = B/A solves xA = B using right matrix division. x = B/A solves xA = B using right matrix division.
Column Vector Divides each index of the column vector by the scalar, resulting in a column vector the same size as the original vector. x = B/A solves xA = B using right matrix division.
Matrix Divides each index of the column vector by the scalar, resulting in a column vector the same size as the original vector. x = B/A solves xA = B using right matrix division. x = B/A solves xA = B using right matrix division.

Examples

3 / 2
ans =1.5
 
[6 4 2] / 3
ans = [2 1.3333 0.6667]
 
[5 4 3] / [4 6 3]
ans = 0.86885
Invalid examples:
[7 3 4] / [6; 9; 9]