Generate a 1-by-10 vector p whose elements are random numbers.

1 visualizzazione (ultimi 30 giorni)
Generate a 1-by-10 vector p whose elements are random numbers.

Risposte (1)

gonzalo Mier
gonzalo Mier il 23 Ott 2018
p=rand(1,10)
  1 Commento
John D'Errico
John D'Errico il 23 Ott 2018
Please don't just post answers to an obvious homework problem. It does not help the student, and it convinces them that Answers is here to do their homework for them.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by