Undefined function or variable 'ran' in matlab R2018a

1 回表示 (過去 30 日間)
Rahim Rahim
Rahim Rahim 2020 年 11 月 20 日
回答済み: Ameer Hamza 2020 年 11 月 20 日
Hello,
I am using matlab R2018a in Windows10.
I want to use the random function ran, but when I run it, that following message is shown to me : Undefined function or variable 'ran'.
How resolve that problem ?

回答 (1 件)

Ameer Hamza
Ameer Hamza 2020 年 11 月 20 日
The function name is rand(): https://www.mathworks.com/help/matlab/ref/rand.html, not ran().

カテゴリ

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

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by