dsplabs/matlab-addnoise

Add noise to a signal at a prescribed SNR level.
8.3K Downloads
Updated 25 Apr 2018

Add noise at a given SNR.

Cite As

Kamil Wojcicki (2024). dsplabs/matlab-addnoise (https://github.com/dsplabs/matlab-addnoise), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Signal Generation and Preprocessing in Help Center and MATLAB Answers
Acknowledgements

Inspired: Ideal Binary Mask, Segmental SNR

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.3.0.0

Revised to work with audioread since wavread is no longer supported by MATLAB.
Revised repository url.

1.2.0.0

Added:

randi = @(n)( round(1+(n-1)*rand) );

to support older MATLAB releases.

Relaxed sanity check to:

assert( abs(SNR(signal,noisy)-snr) < 1E10*eps(snr) );

1.1.0.0

Updated icon transparency on package description.

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.