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 Solvers51
Suggested Problems
-
Calculate the area of a triangle between three points
2708 Solvers
-
Generate a random matrix A of (1,-1)
295 Solvers
-
Switch matrix to a column vector
341 Solvers
-
Solving Quadratic Equations (Version 1)
480 Solvers
-
Rotate a matrix for 180 degree
197 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!