Create a vector with random numbers

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?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Preguntada:

el 27 de Mzo. de 2020

Cerrada:

el 27 de Mzo. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by