Info

This question is closed. Reopen it to edit or answer.

Create a vector with random numbers

1 view (last 30 days)
Mary Hemler
Mary Hemler on 27 Mar 2020
Closed: Birdman on 27 Mar 2020
How can I create a vector of length 20, whose first 15 numbers are randomly chosen between 2 and 3, and whose last 5 numbers are randomly chosen between -1 and -2?

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!