We can create random data in Matlab with command :
- rand (Uniformly distributed pseudorandom numbers)
- randn (Normally distributed random numbers)
- unifrnd (Continuous uniform random numbers)
- random (Random numbers)
If we want to create random data in range, we can use unifrnd function. Example :
unifrnd (1 , 10 , [5,1])
This command will create random data in range 1 to 10 with output row=5 and column=1.
My name is Toto Sugito. This is my notes when I try something. Maybe, this is NOT THE BEST SOLUTION for your problems. If you have other method or idea that better with my post, please share in this blog. Thank for visiting my site.