Prev: menu list is not showing
Next: Hessian fmincon
From: James Tursa on 15 Apr 2010 11:15 "Matt J " <mattjacREMOVE(a)THISieee.spam> wrote in message <hq798g$72o$1(a)fred.mathworks.com>... > > Incidentally also, MATLAB doesn't know these multiplications and additions are with integers. It represents all numbers as double precision floats by default. You can create an integer data type using, uint8(), uint16() etc..., but I don't know how optimally addition, multiplication, etc... has been coded for these. I think not at all. I believe the operands are converted to double, then the operation is done in double, then the result converted back to the original type. James Tursa |