Why buffer to delay the filtered receiving signal in the Monte Carlo ROC Simulation?

1 view (last 30 days)
When I was leraning how to plot ROC curve in the page of Help Center : Monte Carlo ROC Simulation, I can't understand why we need to delay the receiving signal after filtering in the Loop Over Pulses section.
The code is given by
rcv_pulses = buffer(rcv_pulses(matchingdelay+1:end),size(rcv_pulses,1));
Could anyone help me here?

Accepted Answer

Jack
Jack on 29 Mar 2023
Hi,
The reason for delaying the receiving signal after filtering in the Loop Over Pulses section in Monte Carlo ROC simulation is to align the pulse with the template used for detection.
In a typical radar or sonar system, the transmitted pulse is sent out and then the receiver collects the reflected pulses after a certain amount of time. The reflected pulse is delayed with respect to the transmitted pulse due to the time it takes for the pulse to travel to the target and back.
In order to detect the reflected pulse, the receiver needs to align the received pulse with a template pulse that is used for detection. If the received pulse is not properly aligned with the template, the detection performance can be degraded.
In the Monte Carlo ROC simulation, the delay is simulated by delaying the received pulse by a certain amount of time. The matchingdelay variable in the code represents the time delay between the transmitted and received pulse. By delaying the received pulse by matchingdelay samples, the pulse is aligned with the template pulse used for detection, which improves the detection performance.
The buffer function is used to shift the samples of the received pulse by matchingdelay samples and discard the first matchingdelay samples. The remaining samples are then used for detection. The size(rcv_pulses,1) argument in the buffer function specifies the size of the buffer used for shifting the samples.
  3 Comments

Sign in to comment.

More Answers (0)

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!