How to implement this pseudocode as script

 採用された回答

Jan
Jan 2018 年 3 月 7 日
編集済み: Jan 2018 年 3 月 7 日

0 投票

n = randi([1, 1e6], 1)
You can find this by your own, if you ask an internet search engine for "Matlab random integer". One of the links is the documentation of randi.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

タグ

質問済み:

2018 年 3 月 7 日

編集済み:

Jan
2018 年 3 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by