How to Copy data in Cell array

7 次查看(过去 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

采纳的回答

Matt J
Matt J 2013-1-3
raw(3:5,2:4)=data

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by