Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to generate multiple results

1 回表示 (過去 30 日間)
Stan
Stan 2014 年 10 月 27 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Question is very simple. When I input a "rand" commend in the script. I can generate multiple answers just simply by clicking the "Run" button. Can I know what commend is input there?

回答 (1 件)

Ganesh Gaonkar
Ganesh Gaonkar 2014 年 10 月 27 日
"rand" generates a pseudorandom numbers and this number will be different for different instance. Random number is generated using a 'seed' which acts as initial point from which different random numbers are generated. You can find more details on it if you try: 'edit rand' in MATLAB command window

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by