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

3 次查看(过去 30 天)
Generate a 1-by-10 vector p whose elements are random numbers.

回答(1 个)

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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by