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
-
Rounding off numbers to n decimals
4114 Solvers
-
177 Solvers
-
Union of two set decreasing order
120 Solvers
-
252 Solvers
-
184 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!