matlab 算子

rdivide, ./

点除;

x = A./B
x = rdivide(A,B)
A = [2 4 6 8; 3 5 7 9];
B = 10*ones(2,4);
x = A./B
x = 0.2000 0.4000 0.6000 0.8000 0.3000 0.5000 0.7000 0.9000

矩阵除法

A1BABAB1A/B

>> A = [1, 2; 3, 4]; B = [5, 6; 7, 8];
>> isequal(A*(A\B), B)
1
>> isequal((A/B)*B, A)
1

你可能感兴趣的:(matlab 算子)