In Matlab this function
r = rand(5)
Result:
r =
0.8147 0.0975 0.1576 0.1419 0.6557
0.9058 0.2785 0.9706 0.4218 0.0357
0.1270 0.5469 0.9572 0.9157 0.8491
0.9134 0.9575 0.4854 0.7922 0.9340
0.6324 0.9649 0.8003 0.9595 0.6787
is used to generate a 5-by-5 matrix of uniformly distributed random numbers between 0 and 1.
What is the equivalent function in Delphi?
Aucun commentaire:
Enregistrer un commentaire