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 Solvers58
Suggested Problems
-
Return the largest number that is adjacent to a zero
5509 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
554 Solvers
-
704 Solvers
-
Matlab Basics - Pick out parts of a vector
266 Solvers
-
236 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!