Commit e72836be authored by Riccardo La Placa's avatar Riccardo La Placa
Browse files

Fixed ttemp?

parent 6e18040c
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -47,8 +47,6 @@ tasc_tru = (57231.437581-MJDREF)*86400; %in secondi
% a_gr = zeros(5,1);
% tasc_gr = zeros(5,1);

tic

f_gr=f_tru+(-2:2).';
porb_gr = [porb_tru-10.0,porb_tru-5.0,porb_tru,porb_tru+5.0,porb_tru+10.0].';
a_gr = [0.01, 0.03, a_tru, 0.09, 0.12].';
@@ -284,7 +282,7 @@ for m=1:M
    % F=F(cond);
    % Y=Y(cond); 
    % X=ifft(Y); %inverse-fourier transf.
    ttemp = tm(m,:);
    ttemp = tm(m,:)-tmid(m);
    xtemp = x(m,:);

    % toc
@@ -314,7 +312,7 @@ for m=1:M
            % end
            % tic

            tau = sum((nibank(i,1:s_s)./(nizero*factorial(1:s_s))).*((ttemp(1:N)-tmid(m)).^((1:s_s).').'),2);
            tau = sum((nibank(i,1:s_s)./(nizero*factorial(1:s_s))).*((ttemp(1:N)).^((1:s_s).').'),2);
            % toc

            % tic