I found a curious thing while computing the dot product of two
Suppose I have complex numbers:
a = 2 + 3i
b = 3 + 6i
If I manually compute this, I get: 24 - 3i
However, using dot( a, b ) returns : 24 + 3i
I've tried many different combinations, and in each case, the result
returned from dot is always the complex conjugate of the correct
According to my linear algebra texts, dot product on complex numbers
is computed by:
(a,b) = a1 * conj ( b1 ) + a2 * conj ( b2 )...
however, it appears matlab is using:
(a,b) = conj ( a1 ) * b1 + conj ( a2 ) * b2 ...
Was this the intended behaviour? Is there a reason for this? Or is
this a bug?