Problem 43821. write a function to calculate the snr after quantizing the signal in dB
osig : original signal
qsig : quantized signal
qerror : quantization error
HINT: snr = 10×log10(sum(osig × osig)/sum(qerror × qerror)) [dB]
Solution Stats
Problem Comments
-
3 Comments
nour eddin
on 24 Dec 2016
very interesting <3
Muhammad Aliff Ibrahim
on 29 Dec 2016
nice
David Verrelli
on 26 Jun 2018
It would be more interesting if the Problem Statement provided some context on the meaning and implications of "snr". Presumably it is the signal-to-noise ratio (in decibels). —DIV
Solution Comments
Show commentsProblem Recent Solvers49
Suggested Problems
-
Getting the absolute index from a matrix
254 Solvers
-
530 Solvers
-
17301 Solvers
-
Find the maximum two numbers of every column of a matrix
227 Solvers
-
841 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!