Adding elements to the end of cell array specific row
2 ビュー (過去 30 日間)
古いコメントを表示
i have a cell array 1x2. its length is [1x6] [1x4]. i want to add 5 elements to the 1st row how can i do it E.g c{1}=7 7 7 7 8 Now i want to add [8 10 16 7 11] at the of the 1 row so that c{1}= 7 7 7 7 8 8 10 16 7 11. Can somebody help?
0 件のコメント
採用された回答
the cyclist
2017 年 9 月 12 日
c{1} = [c{1} [8 10 16 7 11]]
3 件のコメント
Philipp Lenz
2019 年 4 月 3 日
編集済み: Philipp Lenz
2019 年 4 月 3 日
Hey , thanks for the awnser but it doenst work with a simulink model. Do you know how to solve this?
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!