mrdivide
Perform right division of scalars and/or matrices, equivalent to the / operator.
Syntax
mrdivide(x,y)
Inputs
- x,y
- Dimension: scalar | vector | matrix
Outputs
- R
- The quotient result.
Example
R = mrdivide([4 9],[6 2; 4 1])
R = [Matrix] 1 x 2
16.00000 -23.00000
Comments
Solves the equation xA = B, with an algorithm determined by matrix A.
For a square A the solution is uniquely determined. For a rectangular A with more columns than rows the unique least squares solution is computed. When A is under determined the computed result is the least squares solution with the minimum norm.