Integer part of the output of a division

Click For Summary
To obtain the integer part of a division in MATLAB, the function `idivide` can be used. This function performs integer division and returns the quotient without the remainder. The user is directed to the MATLAB documentation for further details on its usage. Additionally, symbolic division options are available in the MuPAD environment for more complex calculations. Understanding these functions will help in effectively managing division operations in MATLAB.
loukoumas
Messages
14
Reaction score
0
hello there!

i need to get the integer part of the output of a division in MATLab

i.e. 23/5=4 (and the remainder is 3)

what function should i use?
 
Physics news on Phys.org

Similar threads

Replies
9
Views
2K
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K