View License

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

» Watch video

Highlights from
Formation of signal corrupted with noise

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 2 Downloads (last 30 days) File Size: 37.9 KB File ID: #37263 Version: 1.0
image thumbnail

Formation of signal corrupted with noise



Function forms a signal corrupted with noise and signal-to-noise ratio has a specified value

| Watch this File

File Information

Function SNRS forms an array of a signal which is corrupted with noise and signal-to-noise ratio has a specified value SNR.
We suppose that SNR was defined as a ratio of the root-mean-square value of amplitudes of a signal A(s) and a noise A(n). It is supposed that value of SNR was expressed in decibels (dB). It is supposed, too, that both the signal and the noise were measured at the same points, within the same bandwidth, and across the same impedance. Thus, for calculations we used the following formula: SNR = 20log10(A(s)/A(n)).
If array of noise has length not equal to length of array of signal then array of noise will be automatically resized to fit length of array of signal.
If length of array "noise" less than length of array "signal" then we can change type of noise aggression and apply noise only to the first part of array "signal".
Both array "signal" and array "noise" should have floating point format.
Though function SNRS is universal it is recommended to use function SNRN for audio signal.

Required Products MATLAB
MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us