Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

the mathematical expression for the expanding portion of a -law compander. The signal (a) Determine (b) ()-10 exp()+sin(2nt) is sampled at an 20 Hz rate

image text in transcribed
the mathematical expression for the expanding portion of a -law compander. The signal (a) Determine (b) ()-10 exp()+sin(2nt) is sampled at an 20 Hz rate over the interval from 0 to 20 4 seconds. The signal is then quantized. If 8-bit quantization is performed without com pand- ing, determine the root-mean-square (rms) error be tween the unquantized and quantized signals. 1f8-bit quantization is perform with a -law compander with = 255, determine the rms error between the un- quantized signal and quantized signals after expansion. (ii) Use the following Matlab script as a guide for computing the mean square error Fs=20; Ts.UFs; %Sample rate (Hz) %Sample period (s) t-10: Ts: 201% Observation period (s) s = 10'exp(t) + sin(2*pi*t); mu = 100; s = smatabs(s) + eps); % normalize signal level s.mu log(1+mu absts)Mog1+ mu)." sign(s); % mu-law compression % number of bits % quantization to 256 levels (-128 %-Quantization Q= 8; , mug floor(2AQ1)"smul; % non-uniforms or quantization quantization mu. 'signts mu.q)h % Compare . plotsis-s.mu )How do the results of part (b) change if we shorten or d) How do the results of part (b) change if we decrease or in lengthen the observation period? Why? What does this im- ply about companding? crease the number of quantization levels? the mathematical expression for the expanding portion of a -law compander. The signal (a) Determine (b) ()-10 exp()+sin(2nt) is sampled at an 20 Hz rate over the interval from 0 to 20 4 seconds. The signal is then quantized. If 8-bit quantization is performed without com pand- ing, determine the root-mean-square (rms) error be tween the unquantized and quantized signals. 1f8-bit quantization is perform with a -law compander with = 255, determine the rms error between the un- quantized signal and quantized signals after expansion. (ii) Use the following Matlab script as a guide for computing the mean square error Fs=20; Ts.UFs; %Sample rate (Hz) %Sample period (s) t-10: Ts: 201% Observation period (s) s = 10'exp(t) + sin(2*pi*t); mu = 100; s = smatabs(s) + eps); % normalize signal level s.mu log(1+mu absts)Mog1+ mu)." sign(s); % mu-law compression % number of bits % quantization to 256 levels (-128 %-Quantization Q= 8; , mug floor(2AQ1)"smul; % non-uniforms or quantization quantization mu. 'signts mu.q)h % Compare . plotsis-s.mu )How do the results of part (b) change if we shorten or d) How do the results of part (b) change if we decrease or in lengthen the observation period? Why? What does this im- ply about companding? crease the number of quantization levels

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database 101

Authors: Guy Kawasaki

1st Edition

0938151525, 978-0938151524

More Books

Students also viewed these Databases questions

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago