Hi
I do nbot understand why you should keep the same seed (it should give rise
to 10000 times the same results), but teh way to do that is:
S=grand("getsd")
for i=1:100
for j=1:100
for k=1:100
grand("setsd",S")
x=grand(10,10,'norm',0,1)
・・・・・
end
end
end
Éric.
2015-06-29 19:12 GMT+02:00 fujimoto2005 <[email protected]>:
> I want to set the same seed for same k for every i,j.
>
> for i=1:100
> for j=1:100
> for k=1:100
> x=grand(10,10,'norm',0,1)
> ・・・・・
> end
> end
> end
> Pleas teach me how to set such seed.
>
>
>
>
>
> --
> View this message in context:
> http://mailinglists.scilab.org/setting-the-seed-of-grand-tp4032520.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive
> at Nabble.com.
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.scilab.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users