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 Solvers21
Suggested Problems
-
Return the largest number that is adjacent to a zero
5353 Solvers
-
272 Solvers
-
Relative ratio of "1" in binary number
1419 Solvers
-
07 - Common functions and indexing 6
451 Solvers
-
Remove the first, third and fifth rows of a matrix
588 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!