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

3 visualizzazioni (ultimi 30 giorni)
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! ^^

Risposta accettata

Steven Lord
Steven Lord il 3 Mar 2020
See the repmat and repelem functions.

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by