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 Solvers55
Suggested Problems
-
Is my wife right? Now with even more wrong husband
1334 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3480 Solvers
-
Let's get back to school, and create multiplication tables
225 Solvers
-
Calculate solution of given polynomial
92 Solvers
-
Make an identity matrix whose diagonal elements are 1:n
114 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!