osig : original signal
qsig : quantized signal
qerror : quantization error
HINT: snr = 10×log10(sum(osig × osig)/sum(qerror × qerror)) [dB]
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers52
Suggested Problems
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14361 Solvers
-
18493 Solvers
-
1005 Solvers
-
171 Solvers
-
Make an identity matrix whose diagonal elements are 1:n
131 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
very interesting <3
nice
It would be more interesting if the Problem Statement provided some context on the meaning and implications of "snr". Presumably it is the signal-to-noise ratio (in decibels). —DIV