Commit c54c5250 authored by Giulia Illiano's avatar Giulia Illiano
Browse files

Prova di calcolo detection statistics

parent 684c6ec6
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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) -------------------------------
@@ -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