Loading scsearch.m +5 −1 Original line number Diff line number Diff line Loading @@ -151,6 +151,7 @@ for m=1:M Y=Y(cond); X=ifft(Y); %inverse-fourier transf. %FARE IL RICAMPIONAMENTO!!!! %X1 è la timeseries resempled (controllare che sia un vettore colonna) %zero-padding (metto gli zeri alla fine) ------------------------------- Loading @@ -166,7 +167,10 @@ for m=1:M F1=F1(1:round(length(F1)/2)); Y1=Y1(1:round(length(Y1)/2)); %CALCOLARE LA DETECTION STATISTICS!!!! %Calcolo della detection statistic %QUESTA SARA' DA INIZIALIZZARE ALL'ESTERNO tipo Lambda = zeros(length(template),1); Lambda(template)=sum(Y1); %CREDO (oppure prendono la potenza massima?) end Loading Loading
scsearch.m +5 −1 Original line number Diff line number Diff line Loading @@ -151,6 +151,7 @@ for m=1:M Y=Y(cond); X=ifft(Y); %inverse-fourier transf. %FARE IL RICAMPIONAMENTO!!!! %X1 è la timeseries resempled (controllare che sia un vettore colonna) %zero-padding (metto gli zeri alla fine) ------------------------------- Loading @@ -166,7 +167,10 @@ for m=1:M F1=F1(1:round(length(F1)/2)); Y1=Y1(1:round(length(Y1)/2)); %CALCOLARE LA DETECTION STATISTICS!!!! %Calcolo della detection statistic %QUESTA SARA' DA INIZIALIZZARE ALL'ESTERNO tipo Lambda = zeros(length(template),1); Lambda(template)=sum(Y1); %CREDO (oppure prendono la potenza massima?) end Loading