creating multiple values of the same x,y,z

조회 수: 1 (최근 30일)
Eddy Ramirez
Eddy Ramirez 2020년 11월 8일
댓글: Eddy Ramirez 2020년 11월 8일
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
Rafael Hernandez-Walls 2020년 11월 8일
x=[ 2, 4, 2];
repmat(x,10,1)

추가 답변 (1개)

madhan ravi
madhan ravi 2020년 11월 8일

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by