Insert numeric values (rx1 matrix) inside a cell
이전 댓글 표시
Hi. I would like to insert a column of 100:
rep = repmat(100,157,1);
inside the first cell (see image) so that 157x2 becomes 157x3.
The third column represents "rep".

How can I do this?
댓글 수: 1
Stephen23
2022년 12월 11일
A simpler, more versatile approach is given here:
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!