Problem 44054. Write a function to calculate step size delta if bits per sample and input range is given for quantization.
numBit = bits per sample; range = input max value - min value; delta = step size; l = number of levels;
Solution Stats
Problem Comments
-
2 Comments
Rafael S.T. Vieira
on 10 Oct 2020
The test suite needs more test cases. It's a good problem, but the test suite is poor.
Dyuman Joshi
on 14 Feb 2023
Test cases have been added to the problem.
Solution Comments
Show commentsProblem Recent Solvers20
Suggested Problems
-
1520 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
10057 Solvers
-
Determine the number of odd integers in a vector
668 Solvers
-
Find the dimensions of a matrix
503 Solvers
-
Create sequnce 1 4 9 16 25.........
286 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!