True Random Number generator from file exchange

3 visualizaciones (últimos 30 días)
Uffe Larsen
Uffe Larsen el 17 de Feb. de 2015
Editada: Giuseppe Altieri el 20 de Ag. de 2020
I've downloaded 2 random number generators, but neither works:
when i run it
truerand(9)
It yields:
Error using reshape To RESHAPE the number of elements must not change.
Error in truerand (line 57) y = reshape(str2num(data),m,n); %#ok<ST2NM>
Does anyone use either of these and if so, does anyone know how to make them behave? i've tried looking over the code, but doesn't really understand anything.Possibly theres a third, simpler way to get true random numbers?
Thx a million -U
  1 comentario
Erik S.
Erik S. el 18 de Feb. de 2015
Why can't you use the regular rand function in Matlab?

Iniciar sesión para comentar.

Respuestas (4)

Homeoftom
Homeoftom el 12 de En. de 2017
go to line 56 and chanege it from
% data = urlread(url);
to:
% data = webread(url);

Jan
Jan el 17 de Feb. de 2015
Please contact the authors at first.

Nicola Scantamburlo
Nicola Scantamburlo el 17 de Mayo de 2018
Change http with https in the url assignment

Giuseppe Altieri
Giuseppe Altieri el 20 de Ag. de 2020
Editada: Giuseppe Altieri el 20 de Ag. de 2020
the new url uses "https"

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by