Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to generate multiple results

2 次查看(过去 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