sum(c)=sum(b)=1, while sum(c*b,'all') seems to be larger than 1. Why is that?
Best Answer
Floating point discrepancies. You cannot count on floating point calculations giving a perfectly accurate result of 1 (unless they involve only integer arithmetic).
Best Answer