Issue when using ceil function
3 Ansichten (letzte 30 Tage)
Tushar Behera am 9 Feb. 2023
The results for a and b are different because the expressions for each of them are different. The issue is not with MATLAB but it is due to how the data for floating point numbers are stored in a computer.
For a better understanding please refer to this MATLAB Answer,
I hope this helps you.