Finding signal to noise ratio

3 views (last 30 days)
Tinkul on 8 May 2014
Commented: cbentter on 2 Apr 2020
I have a signal x=[34;56;12;87;35]
I have added some noise with the signal x. After denoising i have got the output
x0=[ 33.88;55;11.11;86.77;34.99]
Now how can i find out SNR? please help....

Accepted Answer

Sven on 8 May 2014
Edited: Sven on 8 May 2014
Hi Tinkul, does this help you out? I assume that the values you gave are already in your desired units (although true SNR is based on power of signals, not necessarily the signals themselves)
signal = [34;56;12;87;35]
response = [ 33.88;55;11.11;86.77;34.99]
noise = response - signal
rawratio = signal ./ abs(noise)
snr = 10*log10(rawratio)
ans =
This shows that in your observations the signal is in the order of hundreds of times greater than the noise between true and measured response (in the rawratio variable). Signal-to-noise ratio is often (usually) given in decibels (db) which is 10log10(signal/noise)
  1 Comment
cbentter on 2 Apr 2020
But if you only have the signal with the noise?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by