Problem 43972. Binary code for an analog signal
Digitization of a signal consists of 3 stages: sampling, quantization and encoding.
Sampling convert the analogue signal into pulses, quantization adjust the amplitude of the sampled signal, encoding is the process of assigning each quantised sample with a binary code.
Write a function that will return the binary code (BitCode {char matrix of size 5,6}) for 5 different voltage levels (AnalogValue{double mattrix of size 1,5}), with maximum and minimum value of (xmin, xmax).
The Number of bits will be provided as (NoBits)
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers13
Suggested Problems
-
3640 Solvers
-
Vectorizing, too easy or too hard?
145 Solvers
-
Cell Counting: How Many Draws?
2255 Solvers
-
Detect a number and replace with two NaN's
195 Solvers
-
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
947 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!