Problem 43972. Binary code for an analog signal

Created by mohamad Alhaddad in Community

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

66.67% Correct | 33.33% Incorrect
Last solution submitted on Jan 23, 2019

Recent Solvers6

Suggested Problems

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!