Main Content

ebno

Eb/No at final node of link

    Description

    e = ebno(lnk) returns a matrix e of the history of received energy per bit to noise power spectral density (Eb/No) values in dB at the final node in each possible multihop link in the vector lnk. The rows of the matrix correspond to the link object in lnk and the columns correspond to the time sample.

    e = ebno(lnk,timeIn) returns a column vector of Eb/No e in dB at the final node in each link defined in the vector lnk at the specified datetime timein. Each element of e corresponds to a link in lnk. If no timezone is specified in timeIn, the time zone is assumed to be UTC.

    example

    [e,timeOut] = ebno(___) returns the received Eb/No values and the corresponding times in Universal Time Incorporated (UTC).

    Examples

    collapse all

    Create a satellite scenario object.

    startTime = datetime(2020,12,13,10,42,0);
    stopTime = startTime + days(1);
    sampleTime = 2000;                                       % seconds
    sc = satelliteScenario(startTime,stopTime,sampleTime);

    Add a satellite to the scenario.

    semiMajorAxis = 10000000;                               % meters
    eccentricity = 0;
    inclination = 0;                                        % degrees
    rightAscensionOfAscendingNode = 0;                      % degrees
    argumentOfPeriapsis = 0;                                % degrees
    trueAnomaly = 210;                                      % degrees
    sat = satellite(sc,semiMajorAxis,eccentricity, ...
        inclination,rightAscensionOfAscendingNode, ...
        argumentOfPeriapsis,trueAnomaly);

    Add a transmitter to the satellite.

    tx = transmitter(sat);

    Add a ground station to the scenario.

    latitude = 0;                             % degrees
    longitude = 30;                           % degrees
    gs = groundStation(sc,latitude,longitude);

    Add a receiver to the ground station.

    rx = receiver(gs,"MountingAngles",[0; 180; 0]);

    Add link analysis to the transmitter.

    lnk = link(tx,rx);

    Get the Eb/No history at the receiver and their time samples.

    [e, t] = ebno(lnk)
    e = 1×45
    103 ×
    
          -Inf   -0.0292      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf   -1.9496      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf      -Inf
    
    
    t = 1x45 datetime
    Columns 1 through 3
    
       13-Dec-2020 10:42:00   13-Dec-2020 11:15:20   13-Dec-2020 11:48:40
    
    Columns 4 through 6
    
       13-Dec-2020 12:22:00   13-Dec-2020 12:55:20   13-Dec-2020 13:28:40
    
    Columns 7 through 9
    
       13-Dec-2020 14:02:00   13-Dec-2020 14:35:20   13-Dec-2020 15:08:40
    
    Columns 10 through 12
    
       13-Dec-2020 15:42:00   13-Dec-2020 16:15:20   13-Dec-2020 16:48:40
    
    Columns 13 through 15
    
       13-Dec-2020 17:22:00   13-Dec-2020 17:55:20   13-Dec-2020 18:28:40
    
    Columns 16 through 18
    
       13-Dec-2020 19:02:00   13-Dec-2020 19:35:20   13-Dec-2020 20:08:40
    
    Columns 19 through 21
    
       13-Dec-2020 20:42:00   13-Dec-2020 21:15:20   13-Dec-2020 21:48:40
    
    Columns 22 through 24
    
       13-Dec-2020 22:22:00   13-Dec-2020 22:55:20   13-Dec-2020 23:28:40
    
    Columns 25 through 27
    
       14-Dec-2020 00:02:00   14-Dec-2020 00:35:20   14-Dec-2020 01:08:40
    
    Columns 28 through 30
    
       14-Dec-2020 01:42:00   14-Dec-2020 02:15:20   14-Dec-2020 02:48:40
    
    Columns 31 through 33
    
       14-Dec-2020 03:22:00   14-Dec-2020 03:55:20   14-Dec-2020 04:28:40
    
    Columns 34 through 36
    
       14-Dec-2020 05:02:00   14-Dec-2020 05:35:20   14-Dec-2020 06:08:40
    
    Columns 37 through 39
    
       14-Dec-2020 06:42:00   14-Dec-2020 07:15:20   14-Dec-2020 07:48:40
    
    Columns 40 through 42
    
       14-Dec-2020 08:22:00   14-Dec-2020 08:55:20   14-Dec-2020 09:28:40
    
    Columns 43 through 45
    
       14-Dec-2020 10:02:00   14-Dec-2020 10:35:20   14-Dec-2020 10:42:00
    
    

    Input Arguments

    collapse all

    Link analysis object, specified as a Link object vector or scalar.

    Time at which the output is calculated, specified as a datetime scalar. If no time zone is specified in timeIn, the time zone is assumed to be Universal Time Coordinated (UTC).

    Output Arguments

    collapse all

    Eb/No, returned as a scalar, vector, or a matrix. If timeIn is not specified, e is a row vector or a matrix.

    Time samples of the output Eb/No, returned as a scalar or vector. If time history of Eb/No is returned, timeOut is a row vector.

    Note

    When AutoSimulate of the satellite scenario is true, the Eb/No history from StartTime to StopTime is returned. When it is false, the Eb/No history from StartTime to SimulationTime is returned.

    Version History

    Introduced in R2021a