raw(3:5,2:4)=data
How to Copy data in Cell array
9 次查看(过去 30 天)
显示 更早的评论
Hi, I have a cell array ('raw'), which is as below. i have another cell array which contains the data ('data'), data should be in the NaNs from positons 3,2 till 5,4 (so all NaNs inside).**
If i do
raw{3,2}=data
then it created another cellarray in that cell instead of fulling all the NaN. not exactly what i want, how can i make it the way i want? :)
NaN 'Mean' NaN NaN
NaN 'X' 'Y ' 'Z'
'Name1' NaN NaN NaN
'Name2' NaN NaN NaN
'Name3' NaN NaN NaN
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!