Cody

Solution 1109129

Submitted on 23 Jan 2017
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   Fail
osig = [100 200 300]; qerror = [1 2 3]; y =40; assert(isequal(snrdB(osig,qerror),y))

Error using * Inner matrix dimensions must agree. Error in snrdB (line 2) snr = 10*log10(sum(osig*osig)/sum(qerror*qerror)); Error in TestPoint1 (line 4) assert(isequal(snrdB(osig,qerror),y))