Declare a random column vector V with 500 entries

回答(1 个)

Beside posting the direct solution, it is useful to know, how you can find such solutions efficiently by your own:
Instead of waiting 2 hours for an answer of the forum, you can search in the documentation also:
docsearch random
Even asking an internet search engine for "Matlab create random vector" is useful. You will find e.g.:
This mentions rand, randi, randn and randperm. For details see e.g.
doc rand

类别

在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息

标签

编辑:

Jan
2018-1-29

Community Treasure Hunt

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

Start Hunting!

Translated by