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

Answers (1)

p=rand(1,10)

1 Comment

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.

Sign in to comment.

Asked:

on 23 Oct 2018

Commented:

on 23 Oct 2018

Community Treasure Hunt

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

Start Hunting!