Energy Detection Simulation : Finding Threhsold
Here we calculate the threshold in energy detection by simulations. This is a general method and applicable to all scenarios for energy detection. We assume that all the signals are complex Gaussian.
% Algorithm:
1. Assume onlt noise is received, i.e., primary user is absent.
2. If the only noise energy lies above the threhsold, it corresponds to
false alarm.
3. Run this scenario for some number of iteration.
4. Probability of False Alarm = energy above threshold/No. of Iteration.
To plot ROC curve, refer other MATLAB code posted by the same author.
Cite As
Sanket Kalamkar (2024). Energy Detection Simulation : Finding Threhsold (https://www.mathworks.com/matlabcentral/fileexchange/44570-energy-detection-simulation-finding-threhsold), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Wireless Communications > LTE Toolbox > Signal Reception and Recovery >
- Radar > Phased Array System Toolbox > Detection, Range and Doppler Estimation >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |