create a matrix with the same entry

I would like to create, given x and NRows, a vector y that is NRows*1 and every element of y is x. Please advise.

 采纳的回答

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by