MATLAB: How to drop decimal values without rounding off

drop decimalrounding

I do not want to apply Ceil/round/floor commands. I just want the digits before the decimal points. Example: 959.589 as 959 and also 959.324 as 959. Is it possible to do ?

Best Answer

959.589-rem(959.589,1)