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

Solution 2012356

Submitted on 10 Nov 2019 by Paulo Cerqueira
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))

ans = 40

Suggested Problems

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!