File Exchange

image thumbnail


version (1.08 MB) by Kamil Wojcicki
Add noise to a signal at a prescribed SNR level.


Updated 25 Apr 2018

From GitHub

View Version History

View license on GitHub

Add noise at a given SNR.

Cite As

Kamil Wojcicki (2021). dsplabs/matlab-addnoise (, GitHub. Retrieved .

Comments and Ratings (7)

Hoi Liu

add snr=0 camt woek need to delete late line

Kamil Wojcicki

Hi Hoi, could you elaborate what you mean?

Hoi Liu

snr =0 cant work

Kamil Wojcicki

Hi ARA, this function takes signal and noise _samples_ as input vectors from the user, i.e., you have to provide noise samples, these are not internally generated by the function. Hope that makes sense.

Please also see the description and simple usage example in the addnoise() function header:


thanks for the file exchange. pls describe what kind of noise this function will add to the signal? white? Gaussian?

aoli ao


MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

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!