creating multiple values of the same x,y,z

1 次查看(过去 30 天)
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

采纳的回答

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

更多回答(1 个)

madhan ravi
madhan ravi 2020-11-8

类别

Help CenterFile Exchange 中查找有关 Operators and Elementary Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by