# eclipsingloss

Loss due to pulse eclipsing

## Syntax

``LECL = eclipsingloss(PD,PFA,N)``
``LECL = eclipsingloss(PD,PFA,N,DU)``
``LECL = eclipsingloss(PD,PFA,N,DU, SW)``

## Description

example

````LECL = eclipsingloss(PD,PFA,N)` computes the statistical eclipsing loss, `LECL`, in decibels for an unmodulated rectangular pulse with a duty cycle of `0.1` given the probability of detection, `PD`, the probability of false alarm, `PFA`, and the number of received pulses, `N`. The function assuming you are using a square-law detector and a nonfluctuating target.```
````LECL = eclipsingloss(PD,PFA,N,DU)` computes the statistical eclipsing loss for an unmodulated rectangular pulse given the duty cycle, `DU`, of the transmitted waveform as an additional input argument.```
````LECL = eclipsingloss(PD,PFA,N,DU, SW)` computes the statistical eclipsing loss for radar echoes received from a chi-squared distributed target given the Swerling case number, `SW`, as an additional input argument. ```

## Examples

collapse all

Compute the statistical eclipsing loss for a single unmodulated rectangular pulse. Specify the probability of detection from `0.1–0.99` and probability of false alarm of `1e-6`.

```PD = 0.1:0.01:0.99; PFA = 1e-6; N = 1; LECL = eclipsingloss(PD,PFA,N);```

Plot the eclipsing loss.

```plot(PD,LECL) ylim([0 20]); xlabel('Probability of Detection'); ylabel('Eclipsing loss (dB)'); title('Statistical Eclipsing Loss vs P_d for Swerling 0 Target'); grid on;``` ## Input Arguments

collapse all

Probability of detection, specified as a positive scalar in the range of `[0.1, 0.999999]` or as a length-J vector with each element in the range `[0.1, 0.999999]` .

Probability of false alarm, specified as a positive scalar or as a length-K vector with each element in the range ```[1e-15, 1e-3]```.

Number of received pulses, specified as a positive scalar.

Duty cycle, specified as a scalar or length-`M` vector.

• If you set `DU` as a scalar, the function computes the eclipsing loss for an unmodulated rectangular pulse with duty cycle in the range `(0, 1)`.

• If you set `DU` as a length-M vector, the function computes the eclipsing loss for an arbitrary waveform specified using the time domain samples taken over a one pulse repetition interval.

Swerling case number, specified as one of these

• `'Swerling0'`

• `'Swerling1'`

• `'Swerling2'`

• `'Swerling3'`

• `'Swerling4'`

• `'Swerling5'`

## Output Arguments

collapse all

Eclipsing loss, returned as a J-by-K matrix in decibels with rows corresponding to `PD` and columns corresponding to `PFA`.

## Version History

Introduced in R2021a
{"ft_lang_label":"__label__en","ft_lang_prob":0.67998356,"math_prob":0.9510645,"size":2136,"snap":"2022-27-2022-33","text_gpt3_token_len":598,"char_repetition_ratio":0.1608818,"word_repetition_ratio":0.0668693,"special_character_ratio":0.25468165,"punctuation_ratio":0.13965087,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9937086,"pos_list":[0,1,2],"im_url_duplicate_count":[null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-08-07T16:13:13Z\",\"WARC-Record-ID\":\"<urn:uuid:211cf7d4-ffe2-4e16-8f92-3df40c6e2d70>\",\"Content-Length\":\"94319\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:9330665c-3608-46df-9881-12b9e5996311>\",\"WARC-Concurrent-To\":\"<urn:uuid:6abd6c6a-27a9-4a87-90fd-d877ecfb0647>\",\"WARC-IP-Address\":\"23.35.66.81\",\"WARC-Target-URI\":\"https://au.mathworks.com/help/radar/ref/eclipsingloss.html\",\"WARC-Payload-Digest\":\"sha1:YRSYHKWNTYJDMN34B5PHNQL7TLDDMBFL\",\"WARC-Block-Digest\":\"sha1:BCV654OQ7ERDJEVNEQMYRML5FVGFKP3K\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-33/CC-MAIN-2022-33_segments_1659882570651.49_warc_CC-MAIN-20220807150925-20220807180925-00633.warc.gz\"}"}