Code covered by the BSD License  

Highlights from
Add Noise

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

Add Noise



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