Cody

Problem 44054. Write a function to calculate step size delta if bits per sample and input range is given for quantization.

Solution 1111235

Submitted on 27 Jan 2017 by Alexander Levedahl
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
numBit = 3; range = 10; delta = 1.25; assert(isequal(getdelta(numBit,range),delta))

ans = 1.2500

Suggested Problems