Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to generate multiple results

조회 수: 6 (최근 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