Declare a random column vector V with 500 entries
Show older comments
How can i write this command on MATLAB 2017
Answers (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
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!