Sign to-commotion proportion (contracted SNR) is a measure utilized as a part of science and designing that analyzes the level of a coveted sign to the level of foundation clamor. It is characterized as the proportion of sign energy to the clamor power, regularly communicated in decibels. A proportion higher than 1:1 (more prominent than 0 dB) shows more flag than clamor. While SNR is regularly cited for electrical signs, it can be connected to any type of sign, (for example, isotope levels in an ice center or biochemical motioning between cells).
Signal-to-noise ratio is defined as the ratio of the power of a signal (meaningful information) and the power of background noise (unwanted signal):
If the variance of the signal and noise are known, and the signal is zero:
If the signal and the noise are measured across the same impedance, then the SNR can be obtained by calculating the square of the amplitude ratio:
Where A is root mean square (RMS) amplitude (for example, RMS voltage).
Because many signals have a very wide dynamic range, signals are often expressed using the logarithmic decibel scale. Based upon the definition of decibel, signal and noise may be expressed in decibels (dB) as
In a similar manner, SNR may be expressed in decibels as
Using the definition of SNR
Using the quotient rule for logarithms
Substituting the definitions of SNR, signal, and noise in decibels into the above equation results in an important formula for calculating the signal to noise ratio in decibels, when the signal and noise are also in decibels:
In the above formula, P is measured in units of power, such as Watts or mill watts, and signal-to-noise ratio is a pure number.
However, when the signal and noise are measured in Volts or Amperes, which are measures of amplitudes, they must be squared to be proportionate to power as shown below:
Compute the SNR of a 2.5 kHz sinusoid sampled at 48 kHz. Add white noise with standard deviation 0.001. Set the random number generator to the default settings for reproducible results.