From: Kevin on 14 Mar 2010 18:12 Should the following two methods generate the same random numbers? >> h = RandStream('mt19937ar', 'Seed', 0); rand(h, 1, 3) ans = 0.8147 0.9058 0.1270 >> rand('twister', 0); rand(1,3) ans = 0.5488 0.7152 0.6028
|
Pages: 1 Prev: matlab code for nonlinear regression Next: multiple curves in one plot |