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!