View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Add Noise

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

5.0 | 2 ratings Rate this file 19 Downloads (last 30 days) File Size: 913 KB File ID: #32136 Version: 1.2
image thumbnail

Add Noise


Kamil Wojcicki (view profile)


07 Jul 2011 (Updated )

Add noise to a signal at a prescribed SNR level.

| Watch this File

File Information

Takes two signal vectors as inputs and produces a mixture signal at a desired SNR level (dB). Includes various examples.


Speech Spectrogram inspired this file.

This file inspired Ideal Binary Mask and Segmental Snr.

MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
11 Mar 2013 aoli ao  
14 Aug 2011 Neo

Neo (view profile)

08 Jul 2011 1.1

Updated icon transparency on package description.

14 Jul 2011 1.2


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) );

Contact us