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 Solvers46
Suggested Problems
-
Sum all integers from 1 to 2^n
15357 Solvers
-
Magic is simple (for beginners)
9239 Solvers
-
670 Solvers
-
Sum the squares of numbers from 1 to n
245 Solvers
-
94 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!