フィルターのクリア

persistent init and rng

1 回表示 (過去 30 日間)
DM
DM 2015 年 4 月 23 日
コメント済み: Image Analyst 2015 年 4 月 23 日
I found the following command in a built in function in MATLAB, can anyone please explain to me what they mean?
persistent init;
if isempty(init)
init = 1;
rng(seed);
end
Thanks
  1 件のコメント
Image Analyst
Image Analyst 2015 年 4 月 23 日
Which function? If you say "doc rng" (or whatever function you want), does it bring up the help?

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeRandom Number Generation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by