Sunday, October 13, 2013

Cara membangkitkan Bilangan Acak Menggunakan Mathlab

1. Stir Random Number by Using Matlab with sum 100 data

- open matlab from your PC


- write this syntax : floor(11*rand(1,100)) and press 'Enter'


finish

2. Stir Random Number integer 0-10 by Using Matlab with sum 100 data

- write this syntax : randi([0,10],[1,100]) and press 'Enter'

0 comments:

Post a Comment