corrects =
[1x4 double] [1x4 double] [1x4 double] [1x4 double] [1x4 double] [1x4 double] [1x4 double] [1x4 double] [1x4 double] [1x4 double]
corrects{1}
ans =
9 8 10 7
how to put it in a matrix every first entry of the 10 corrects cell without loop?
So I need :
corrects{1}(1)
ans =
9
corrects{2}(1)
ans =
8
I tried corrects{:}(1)
but obviously bad cell reference how to do it?
Use
cellfunlike this:Here is an example to show you that it works: