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 Solvers56
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1978 Solvers
-
1176 Solvers
-
Duplicate each element of a vector.
633 Solvers
-
571 Solvers
-
Area of an equilateral triangle
6756 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!