Sliding Pulse Repitition Interval

Started by umair039 March 24, 2009
Hi.

i am working on a project for the detection of Sliding PRI of a radar
signal. the sliding PRI time of arrivals of a radar signal are generated by
the following code in MATLAB:


T = 600000; % total time duration for which pulses are generated
startpri = 1000;
endpri = 4000;
sliderate = 300;

% Generating time of arrivals(toas) of Sliding PRI
toa = zeros( 1, round( T/ startpri ) );
initial_phase = fix( rand() * 1000 );
index = 1;
toa(index) = initial_phase;
pri = startpri;
index = index + 1;
while toa( index - 1 ) < T
    toa( index ) = toa( index - 1 ) + pri;
    pri = pri + sliderate;
    if( pri > endpri )
        pri = startpri;
    end
    index = index + 1;
end
index = find( toa ~= 0 );
toa = toa( index );


the toa curve comes out exponential within startpri and endpri;

if i have to calculate the  no. of pulses in a certain time of this
sliding pri ; how can i do so?

kindly suggest
thanking in anticipation
regards

umair liaquat