Matlab 有一整套從浮點數取整數的函式。 ... 但是最常用的「取整數」應該是四捨五入( rounding),函式是round( )。 ... Matlab 產生的亂數,都是介於0 與1 之間的數。
www.google.com.tw