Changeset 15 for trunk/src/indice_flore/time_serie_histog3.m
- Timestamp:
- 12/23/08 10:36:27 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/indice_flore/time_serie_histog3.m
r10 r15 44 44 end; 45 45 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) 47 47 % condition 1 on est a un maximum deltas apres sont negetifs et 48 48 % 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); 50 50 51 51 compteurmax=compteurmax+1; … … 117 117 118 118 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); 120 120 compteurmin=compteurmin+1; 121 121 type_temps_compomin(1,compteurmin,1,:)=occu_type_tps(b-10,a,:); … … 197 197 type_temps_compomin=reshape(type_temps_compomin,sizemin,21,4); 198 198 type_temps_compomax=reshape(type_temps_compomax,sizemax,21,4); 199 compteurmin 200 compteurmax 199 disp(['iii : compteurmin =', int2str(compteurmin)]); 200 disp(['iii : compteurmax =', int2str(compteurmax)]); 201 201 202 202 % on fait le test de Student … … 226 226 227 227 % on traduit le nbre d occurence en frequences relatives 228 kara_min=zeros(21,4); 229 kara_max=zeros(21,4); 228 230 for a=1:21; 229 231 for b=1:4; … … 240 242 if student1(a,b)==1; 241 243 table_ttest(a,b)=kara_diff(a,b); 242 else ;244 else 243 245 table_ttest(a,b)=NaN; 244 246 end; … … 266 268 set (gca,'YTick',[-40:20:40],'YTickLabel',[-40:20:40],'fontname','Arial','fontsize',6); 267 269 axis([-10 10 -40 40]); 268 set (gca,'tickDir','out');270 set (gca,'tickDir','out'); 269 271 if a==1; 270 272 title('Frequence Atl Low (filtre PB) Differences min - max Seuil 1.5','Fontsize',8,'Fontname','Arial'); … … 273 275 elseif a==3; 274 276 title('Frequence NAO- (filtre PB) Differences min - max Seuil 1.5','Fontsize',8,'Fontname','Arial'); 275 else ;277 else 276 278 title('Frequence Blocking (filtre PB) Differences min - max Seuil 1.5','Fontsize',8,'Fontname','Arial'); 277 279 end;
Note: See TracChangeset
for help on using the changeset viewer.