dsplabs/matlab-addnoise

Add noise to a signal at a prescribed SNR level.

https://github.com/dsplabs/matlab-addnoise

You are now following this Submission

Add noise at a given SNR.

Cite As

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

Acknowledgements

Inspired: Ideal Binary Mask, Segmental SNR

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
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.