creating multiple values of the same x,y,z

1 visualizzazione (ultimi 30 giorni)
Greetings,
I was wondering how I can create 100 values of the same input
x=[ 2, 4, 2]; %%% I need 100 of the same x, y, z

Risposta accettata

Rafael Hernandez-Walls
Rafael Hernandez-Walls il 8 Nov 2020
x=[ 2, 4, 2];
repmat(x,10,1)

Più risposte (1)

madhan ravi
madhan ravi il 8 Nov 2020

Categorie

Scopri di più su Multidimensional Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by