Cody

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

Solution 1569415

Submitted on 26 Jun 2018 by David Verrelli
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))

snr = 40