MATLAB: The integer part of the division

simple division

hello everyone
how do i get the integer part of the output of a division i.e. 23/5=4 (and the remainder is 3)

Best Answer

fix(23/5) % integer part
rem(23,5) % remainder
%or
mod(23,5)