"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <jtk11j$rd6$1@newscl01ah.mathworks.com>...
> dpb <none@non.net> wrote in message <jtjuvl$er0$1@speranza.aioe.org>...
> > On 7/11/2012 2:11 AM, Bruno Luong wrote:
>
> >
> > But, it _is_ still a logical array, just a logical array of size=(1,1) :)
> >
>
> Fair enough ;)
>
> Bruno
C_data{,} is a matrix of size 144013 x 30. It is the output of textscan function in matlab. All of the columns are strings.
I can obtain what I need in this way
for i =1:N
a=strcmp(C_data{1,1}{i,1},'9');
b=strcmp(C_data{1,26}{i,1},'1');
if (a==1)&&(b==1)
final_vector(i)=C_data{1,10}{i,1};
end
end
The "problem" is that i use 100 different final_vectors (and sum(final_vector) to plot more than 100 qq plots. So to write the above loop 100 time will be tedious. Tough I could try to do everything at once, just in one loop. The final_vector, then the qq plot etc. But I believe that it will be slow....
