View License

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

» Watch video

Highlights from
Add Noise

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

Add Noise

by

Kamil Wojcicki (view profile)

 

07 Jul 2011 (Updated )

Add noise to a signal at a prescribed SNR level.

| Watch this File

File Information
Description

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

Acknowledgements

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 (4)
09 Feb 2017 Kamil Wojcicki

Kamil Wojcicki (view profile)

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: https://www.mathworks.com/matlabcentral/fileexchange/32136-add-noise/content/addnoise/addnoise.m

Comment only
07 Feb 2017 ARA

ARA (view profile)

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

Comment only
11 Mar 2013 aoli ao

14 Aug 2011 Neo

Neo (view profile)

Updates
08 Jul 2011 1.1

Updated icon transparency on package description.

14 Jul 2011 1.2

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

Contact us