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
-
Increment a number, given its digits
637 Solvers
-
Program an exclusive OR operation with logical operators
705 Solvers
-
Determine Whether an array is empty
763 Solvers
-
Fahrenheit to Celsius converter
537 Solvers
-
382 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!