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 Solvers34
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
5815 Solvers
-
576 Solvers
-
Set the array elements whose value is 13 to 0
1454 Solvers
-
07 - Common functions and indexing 6
468 Solvers
-
353 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.