도전2022

matlab : mod, rem 비교 본문

작업/Work2017

matlab : mod, rem 비교

hotdigi 2017. 1. 17. 16:44

1) MOD(x,0) =x , whereas REM(x,0)=NaN

2) MOD(x,y) has the sign of y, while REM(x,y) has the sign of x

3) MOD and REM are equal if x and y have the same sign.


비슷한 기능을 하지만, 1) 식에서 표현하는 것만 드르다.