Problem 43970. Calculate SNR in dB using original signal and quantized signal
origs: the original signal
quants: the quantized signal
hint : need to calculate the quantization error and plug into SNR(dB) equation
Solution Stats
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 23 Sep 2020
It's a good problem, but it needs more test cases. For instance, you could create a random signal then apply floor to all values and request its SNR.
Solution Comments
Show commentsProblem Recent Solvers28
Suggested Problems
-
6733 Solvers
-
Sum of first n positive integers
569 Solvers
-
85 Solvers
-
279 Solvers
-
Finding perimeter of a rectangle
443 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!