The difference between the left and right except MATLAB
Define two matrix A and matrix B first. As follows:
/: Remove Right. A/b represents the inverse of matrix A multiplied by matrix B.
\: Divide left. a\b represents the inverse of matrix a multiplied by B.
./: Right except. A./b represents each element in matrix a divided by the corresponding element of Matrix B.
. \: Left except. a.\b represents each element in matrix B divided by the corresponding element of matrix A.
Simple memory method: Stick |, left side is the other side, right side is removed.
Appendix 1: What is the difference between division and divide:
-
Division is the method of dividing another number by one number. " In addition
to the "divide" in this sentence,
-
"divided" is the method of reading Division sign (÷,/、—、: etc.) in the formula.
-
If "36÷6" reads "36 divided by six", its meaning can also be said to be "6 in addition to 36", it is "6 to divide 36".
Appendix 2:
In the traditional MATLAB algorithm, the right addition is the inverse multiplication of the matrix, and the left side does not need to calculate the inverse matrix to perform the calculation directly.
Usually right except to be faster, but left in addition to avoid the singularity of the matrix is caused by the trouble. The difference between the two is not very big in MATLAB6.
"MATLAB" 002--the difference between left and right except