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 Solvers30
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15660 Solvers
-
4407 Solvers
-
The Hitchhiker's Guide to MATLAB
3345 Solvers
-
Find out sum of all elements of given Matrix
514 Solvers
-
76 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!