mrdivide
Matrix right division, / operator.
📝Syntax
C = mrdivide(A, B)
C = A / B
📥Input Arguments
Parameter Description
A a variable, a table or a timetable. When the other operand is a table or timetable, it must be a scalar.
B a variable, a table or a timetable. When the other operand is a table or timetable, it must be a scalar.
📤Output Arguments
Parameter Description
C result of A / B
📄Description

C = mrdivide(A, B) returns the matrix right division of A and B.

When one operand is a table or timetable and the other operand is a scalar, A / B is an element-wise operation applied to every variable, identical to A ./ B: variable names, units and row times are kept. Any other combination with a table or timetable (two tables, or a table and a non-scalar array) is an error: use ./ instead.

💡Examples
B = ones(3, 4)
A = B *2
A / B
Element-wise operation between a table and a scalar.
T = table([1; 2], [4; 8]);
T / 2
8 / T
🔗See Also
ldividemldividerdividetabletimetable
🕔Version History
Version Description
1.0.0 initial version
2.0.0 table and timetable operands combined with a scalar (element-wise operation).
Edit this page on GitHub