📄 ldivide.m
字号:
function r = ldivide(a, b)% Quaternion left elementwise division is not implemented.% This is because Matlab defines A ./ B to be the matrix with% elements A(i, j)/B(i, j) and A .\ B to be the matrix with elements% B(i, j)/A(i, j). This is not consistent with the ideas of left% and right division in a non-commutative algebra, therefore it is% not supported for quaternion arrays. The operator ./ implements% elementwise division on the right, as expected, but to obtain% elementwise division on the left use: inv(B) .* A% Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -