Jul 29
Have a look at this bizarre Matlab behaviour:
>> 1 / [1 2 3]' ans = 0 0 0.3333
Apparently, this is how they wanted it. Excusing the use of
\\backslash as if it were mathematics, we have the equivalence:
A / B = (B^T \backslash A^T)^T,
leading to the bizarre conclusion that in Matlab,
/ = \backslash^T.
Of course, the syntax that I really wanted was 1 ./ [1 2 3]'. This is fully
consistent with Matlab’s elementwise operations, but would it be so bad if 1 /
[1 2 3]' just did not work, especially rather than silently giving you
something totally weird but the same shape?