Problem 43821. write a function to calculate the snr after quantizing the signal in dB

Solution 1494803

Submitted on 16 Apr 2018 by J. S. Kowontan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
osig = [100 200 300]; qerror = [1 2 3]; y =40; assert(isequal(snrdB(osig,qerror),y))

Suggested Problems