Main Content

nextTime

Start time of the next window

Since R2025a

    Description

    t = nextTime(TX_or_RX) returns the leading edge of the next transmission time when TX_or_RX is a bistaticTransmitter object or the start time of the next receive window when TX_or_RX is a bistaticReceiver object.

    example

    Examples

    collapse all

    This example shows how to verify the start times of the transmission and the receive window for a bistatc transmitter and receiver object, recpectively.

    Verify the Start Time of the Next Transmission

    Create a bistatic transmitter object with an initial time of 10 seconds and verify that the first transmission occurs at this time.

    tx = bistaticTransmitter(InitialTime=10);
    t  = nextTime(tx)
    t = 
    10
    

    Verify the Start Time of the Next Receive Window

    Create a bistatic receiver object with an initial time of 10 seconds. Verify that the start time for the next receive window is the initial time plus the receive window length.

    Rx = bistaticReceiver(InitialTime=10);
    t  = nextTime(Rx)
    t = 
    10.0001
    
    disp(Rx.InitialTime + Rx.WindowDuration)
       10.0001
    

    Input Arguments

    collapse all

    Bistatic transmitter or receiver, specified as a bistaticTransmitter or bistaticReceiver object.

    Output Arguments

    collapse all

    Returns the start time of the next transmission for a bistatic transmitter input or the start time of the next receive window for a bistatic receiver input. Units are in seconds.

    Version History

    Introduced in R2025a