Problem 43980. Find the binary code
Given a sinusoidal signal, create a function that returns the binary code of a quantized value. The function takes the bit length and quantized value as the input.
Bit length = 3 Quantized value = 2 Binary code = 010
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers53
Suggested Problems
-
Swap the first and last columns
21046 Solvers
-
Return a list sorted by number of occurrences
2819 Solvers
-
Which values occur exactly three times?
5144 Solvers
-
2495 Solvers
-
Find out total non zero element of matrix
274 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!