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

3 vues (au cours des 30 derniers jours)
Joe anson
Joe anson le 23 Oct 2018
Commenté : John D'Errico le 23 Oct 2018
Generate a 1-by-10 vector p whose elements are random numbers.

Réponses (1)

gonzalo Mier
gonzalo Mier le 23 Oct 2018
p=rand(1,10)
  1 commentaire
John D'Errico
John D'Errico le 23 Oct 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by