Cody

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

Solution 1094571

Submitted on 29 Dec 2016 by Muhammad Aliff Ibrahim
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

Community Treasure Hunt

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

Start Hunting!