Generate a 1-by-10 vector p whose elements are random numbers.
古いコメントを表示
Generate a 1-by-10 vector p whose elements are random numbers.
回答 (1 件)
gonzalo Mier
2018 年 10 月 23 日
0 投票
p=rand(1,10)
1 件のコメント
John D'Errico
2018 年 10 月 23 日
Please don't just post answers to an obvious homework problem. It does not help the student, and it convinces them that Answers is here to do their homework for them.
カテゴリ
ヘルプ センター および File Exchange で Random Number Generation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!