Random Number from a given vector of numbers
Show older comments
Given a vector of certain allowed numbers,
how to generate another vector whose elements randomly take values from that vector of numbers?
Accepted Answer
More Answers (0)
Categories
Find more on Random Number Generation 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!