Adding elements to the end of cell array specific row
1 次查看(过去 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!