Hi I’m trying to make a column vector of 1870 20’s, then 1870 25’s, and then 1870 30’s

1 次查看(过去 30 天)
Hi I’m trying to make a column vector of 1870 20’s, then 1870 25’s, and then 1870 30’s. So a 5610 row, column vector with these three numbers equally spaced. Thank you! ^^

采纳的回答

Steven Lord
Steven Lord 2020-3-3
See the repmat and repelem functions.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by