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
Solution Comments
Show comments
Loading...
Problem Recent Solvers35
Suggested Problems
-
Sum all integers from 1 to 2^n
18117 Solvers
-
Convert given decimal number to binary number.
2380 Solvers
-
1025 Solvers
-
507 Solvers
-
Back to Basics - Find no. of elements in a matrix?
329 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
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.