creating multiple values of the same x,y,z

1 vue (au cours des 30 derniers jours)
Eddy Ramirez
Eddy Ramirez le 8 Nov 2020
Commenté : Eddy Ramirez le 8 Nov 2020
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

Réponse acceptée

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

Plus de réponses (1)

madhan ravi
madhan ravi le 8 Nov 2020
doc repmat

Catégories

En savoir plus sur Multidimensional Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by