True Random Number generator from file exchange

3 ビュー (過去 30 日間)
Uffe Larsen
Uffe Larsen 2015 年 2 月 17 日
編集済み: Giuseppe Altieri 2020 年 8 月 20 日
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 件のコメント
Erik S.
Erik S. 2015 年 2 月 18 日
Why can't you use the regular rand function in Matlab?

サインインしてコメントする。

回答 (4 件)

Homeoftom
Homeoftom 2017 年 1 月 12 日
go to line 56 and chanege it from
% data = urlread(url);
to:
% data = webread(url);

Jan
Jan 2015 年 2 月 17 日
Please contact the authors at first.
  1 件のコメント
Uffe Larsen
Uffe Larsen 2015 年 2 月 18 日
i have, but they dont answer

サインインしてコメントする。


Nicola Scantamburlo
Nicola Scantamburlo 2018 年 5 月 17 日
Change http with https in the url assignment

Giuseppe Altieri
Giuseppe Altieri 2020 年 8 月 20 日
編集済み: Giuseppe Altieri 2020 年 8 月 20 日
the new url uses "https"

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by