Ignore:
Timestamp:
12/23/08 10:36:27 (16 years ago)
Author:
pinsard
Message:

modification according to mlint diagnostic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/indice_flore/time_serie_histog3.m

    r10 r15  
    4444   end; 
    4545   for b=1:122; 
    46       if (b>11 & b<112); % 1ere condition (laisser une marge de 10)  
     46      if (b>11 && b<112); % 1ere condition (laisser une marge de 10)  
    4747%        condition 1 on est a un maximum deltas apres sont negetifs et 
    4848%             delta avant postifs    
    49          if (delta(b+1)<0 & delta(b)>0 & ind_olr(b,a)>1.5);  
     49         if (delta(b+1)<0 && delta(b)>0 && ind_olr(b,a)>1.5);  
    5050             
    5151            compteurmax=compteurmax+1; 
     
    117117 
    118118 
    119          elseif (delta(b+1)>0 & delta(b)<0 & ind_olr(b,a)<-1.5); 
     119         elseif (delta(b+1)>0 && delta(b)<0 && ind_olr(b,a)<-1.5); 
    120120            compteurmin=compteurmin+1; 
    121121            type_temps_compomin(1,compteurmin,1,:)=occu_type_tps(b-10,a,:); 
     
    197197type_temps_compomin=reshape(type_temps_compomin,sizemin,21,4); 
    198198type_temps_compomax=reshape(type_temps_compomax,sizemax,21,4); 
    199 compteurmin 
    200 compteurmax 
     199disp(['iii : compteurmin =', int2str(compteurmin)]); 
     200disp(['iii : compteurmax =', int2str(compteurmax)]); 
    201201 
    202202% on fait le test de Student 
     
    226226 
    227227% on traduit le nbre d occurence en frequences relatives 
     228kara_min=zeros(21,4); 
     229kara_max=zeros(21,4); 
    228230for a=1:21; 
    229231   for b=1:4; 
     
    240242        if student1(a,b)==1; 
    241243           table_ttest(a,b)=kara_diff(a,b); 
    242         else; 
     244        else 
    243245           table_ttest(a,b)=NaN; 
    244246        end; 
     
    266268    set (gca,'YTick',[-40:20:40],'YTickLabel',[-40:20:40],'fontname','Arial','fontsize',6); 
    267269    axis([-10 10 -40 40]); 
    268     set(gca,'tickDir','out'); 
     270    set (gca,'tickDir','out'); 
    269271    if a==1; 
    270272       title('Frequence Atl Low (filtre PB) Differences min - max  Seuil 1.5','Fontsize',8,'Fontname','Arial'); 
     
    273275    elseif a==3; 
    274276       title('Frequence NAO- (filtre PB) Differences min - max  Seuil 1.5','Fontsize',8,'Fontname','Arial'); 
    275     else;  
     277    else 
    276278       title('Frequence Blocking (filtre PB) Differences min - max  Seuil 1.5','Fontsize',8,'Fontname','Arial'); 
    277279    end;  
Note: See TracChangeset for help on using the changeset viewer.