Add multiple elements to array
이전 댓글 표시
Hi,
Is there possible to add more than one element to an array at the same time?Like in this array:
x=[];
x=[x,3];%and I want to add a number of 100 3 in x
댓글 수: 5
Torsten
2021년 5월 30일
You mean x = [x,[100,3]];
?
Sferle Alin-Tudor
2021년 5월 30일
편집: Sferle Alin-Tudor
2021년 5월 30일
Torsten
2021년 5월 30일
x = [x,3*ones(1,100)];
Sferle Alin-Tudor
2021년 9월 21일
David Horton
2021년 12월 23일
Thanks!!!!!!
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!