From: enviro on
Dear all,

It maybe simple but sometimes we need sum integer values and floating values (decimals) to get a floating results. However, it seems is not that easy like other operations in MATLAB.

1000 + 0.0001 should be 1000.0001 but in MATLAB it is just a n integer value of 1000. Likewise for summing two matrices with integer values and floating ones. Do you have any idea to find a simple way to get a floating result for arithmatic operations in this case.

Many thanks