hi everybody, i have the folloying cellarray
a= { 'me' [0] [0] [0] [0] [0] [0] 'you' [0] [0] [0] [0] [0] [0] 'he' [0] [0] [0] [0] [0] [0]}
now I want to check for each row weither the first cell is 'me', you or he and for each result set a specific value to the other cells. I did this
[m,n]=size(a);for i= 1:m if a{i,1}=='me' %this doesnt work !
a{i,7}=7; a{i,3}=7; endend
Best Answer