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 Solvers31
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1985 Solvers
-
Make an awesome ramp for a tiny motorcycle stuntman
747 Solvers
-
Compute a dot product of two vectors x and y
1046 Solvers
-
121 Solvers
-
Matlab Basics - Absolute Value
667 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!