How to Copy data in Cell array

8 vues (au cours des 30 derniers jours)
Hello kity
Hello kity le 3 Jan 2013
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

Réponse acceptée

Matt J
Matt J le 3 Jan 2013
raw(3:5,2:4)=data

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by