Clear Filters
Clear Filters

creating multiple values of the same x,y,z

3 views (last 30 days)
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

Accepted Answer

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

More Answers (1)

madhan ravi
madhan ravi on 8 Nov 2020

Categories

Find more on Operators and Elementary Operations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!