Problem 43821. write a function to calculate the snr after quantizing the signal in dB
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
nour eddin
on 24 Dec 2016
very interesting <3
Muhammad Aliff Ibrahim
on 29 Dec 2016
nice
David Verrelli
on 26 Jun 2018
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
Solution Comments
Show commentsProblem Recent Solvers50
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2804 Solvers
-
395 Solvers
-
533 Solvers
-
Replace every 3rd element in a vector with 4
263 Solvers
-
211 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!