FACULTY OF ENGINEERING MULTIMEDIA UNIVERSITY LAB SHEET
|
|
- Brendan Moore
- 6 years ago
- Views:
Transcription
1 FACULTY OF ENGINEERING MULTIMEDIA UNIVERSITY LAB SHEET ETM 3136 Digital Communications Trimester 1 (2010/2011) DTL1: Pulse Code Modulation (PCM) Important Notes: Students MUST read this lab sheet before attending the lab. Oral assessment could be conducted on-the-spot. The lab report is to be submitted within two weeks of working days. Ayman, Chuah, May
2 Experiment DTL1: Pulse Code Modulation (PCM) 1. OBJECTIVES: 1. To study the quantization process of PCM schemes 2. To synthesize the coding process of PCM schemes 3. To compare and analyze uniform and non-uniform quantization schemes 2. BASIC CONCEPTS DEFINITION: Pulse code modulation (PCM) is essentially an analog-to-digital conversion (ADC) process where the information contained in the instantaneous samples of an analog signal is represented by digital codewords in a serial bit stream. This can be accomplished by representing the signal in discrete form in both time and amplitude domain. A PCM signal is generated at the transmitter by carrying out three basic operations: sampling, quantizing, and encoding. The pulse code modulation (PCM) process samples an input analog signal, quantizes the sampled signal, and codes the quantized signal into binarycoded digits. A functional block diagram of a PCM transmitter is shown in Figure 1. Figure 1: Block diagram of a PCM transmitter. 2.1 Sampling: It is the process of obtaining an instantaneous value of the input analog signal amplitude at regular intervals. The signal m(t) entering the sampler is band-limited to B Hz. Usually there exists a filter with bandwidth B Hz prior to the sampler to cutoff the out-of-band components. The sampling rate must be sufficiently large so that the analog signal can be reconstructed from its samples m s (n) with sufficient accuracy. The input analog signal is sampled at a rate higher than the Nyquist rate to allow for some guard-band. Thus, the sampling frequency, f s, can be restricted by f s 2B (1) The sampling period is T s second/sample and it is related to the sampling frequency by f s = 1/ T s (2) 2
3 2.2 Quantization: It is the process of converting the voltage level of the sampled amplitude to the voltage value of the nearest standard level, or quantization level. At the end of this stage, the signal m q (n) will be represented discretely in both time and amplitude. The quantizers can be classified as uniform quantizers or nonuniform quantizers. In uniform quantization, the quantization regions are chosen to have equal length where as in nonuniform quantization, regions of variable length are used. The two techniques are further described as follows: Uniform Quantization: Assumed that the range of the input samples is [-m max, +m max ]. In uniform quantization, all quantization regions except the first and last ones are of equal length, which is denoted by Δ, and the number of quantization levels L is an integer power of 2. From this, the length of the quantization region is given by 2 Δ= m L The quantization levels are chosen to be the midpoints of the quantization regions and therefore, the quantization error at the n th sample is given by max (3) e(n) = m(t) m q (n) (4) where t = nt s and e(n) has a uniform probability density function on the interval (-Δ/2, +Δ/2]. Two types of uniform quantizer characteristics are shown in Table 1. Table 1: Types of uniform quantizer characteristics Mid-tread Uniform Quantizer Mid-rise Uniform Quantizer Origin point lies in the middle of a tread. Origin point lies in the middle of a rising edge. Used with odd number of quantization levels, Used with even number of quantization levels, e.g. L = 7 as above. e.g. L = 8 as above. 3
4 Figure 2 shows a midrise uniform quantizer of 8 levels, q 1, q 2,, q 8. The input analog signal m(t) is firstly sampled at nts time intervals to generate the samples signal m s (t) (not shown in the figure). The samples are then quantized to the nearest quantization level to construct the quantized signal m q (n). The 6 samples of the signal, from left to right, will be mapped to q 2, q 3, q 5, q 6, q 6, q 7 because the amplitude of these samples fall into the Reg 2, Reg 3, Reg 5, Reg 6, Reg 6, Reg 7, respectively. Figure 2: An example of quantized samples using 8-level midrise uniform quantizer Nonuniform Quantization: As long as the amplitude statistics of the input signal are close to the uniform distribution (all amplitudes have about equal chances to appear), uniform PCM works fine. However, in coding of certain signals such as speech, the input signal amplitude distribution is far from being uniformly distribution. For a speech waveform, in particular, there exists higher probability of smaller amplitudes and lower probabilities for larger amplitudes. Therefore, it makes sense to design a quantizer with more quantization levels at lower amplitudes and less quantization levels at larger amplitudes. The resulting quantizer will be a nonuniform quantizer having variable spacing between the quantization levels. In nonuniform quantization, the sampled signal is first passed through a nonlinear element that compresses the large amplitudes (reduces the dynamic range of the signal) and then perform a uniform quantization on the output. Two types of compressors are used in nonuniform quantizers; the µ-law and the A-law nonlinearities. The input-output relation of the µ-law compressor is defined by 4
5 where x 1, and its inverse is x = log(1 +μ x ) y = f( x) = sgn x μ ( 1 y +μ) 1 sgn ( y ) μ ( ) (5) (6) The standard PCM system in the U.S. and Canada employs a µ-law compressor with µ = 255. This relation is displayed in Figure 3 with different µ values (µ = no compression) mu = 0 mu = 10 mu = 50 mu = 255 y = output x = input Figure 3: µ-law input-output relation with different µ values. In A-law quantizers (in practice A = 87.6 is used), the input-output relation is defined by A x 1, x < 1 + A ln( A) y = f( x) = sgn( x) (7) 1 + ln( A x ) 1, x ln( A) A and it inverse is expressed as y (1+ ln( A)) 1, y < A 1+ ln( A) = ( ) = sgn( ) exp( y (1 + ln( A)) 1) 1, y 1. A 1+ ln( A) 1 x f y y (8) 5
6 2.3 Encoding: It is the process of representing a particular quantization level of the analog signal with a binary codeword. After quantization, the quantized levels are encoded using R bits for each quantization level. The encoding scheme that is usually employed is natural binary coding (NBC), meaning that the lowest quantization level is mapped into a sequence of all 0 s and the highest level is mapped into a level of all 1 s. In Figure 2 above, R = log 2 (L) = log 2 (8) = 3 bits per codeword were used. 3. PCM SYSTEM PERFORMANCE: 3.1 Performance Metrics: PCM Transmission Bandwidth: The transmission bandwidth of a serial binary PCM (B PCM ) waveform depends on the bit rate and the waveform pulse shape used to represent the data. The bit rate R b is given by R b = R f s (9) Because an input analog signal band-limited to B Hz, requires a minimum f s 2B samples per second (Nyquist theorem), we require a total of R b = 2RB bits per second. Since we can transmit error-free at most two pieces of information per second per Hz bandwidth (realizable using Nyquist pulse shape), thus we require a minimum PCM transmission bandwidth of B PCM = R B (10) PCM Signal-to-Quantization-Noise Ratio: The signal-to-quantization-ratio (SQNR) in db is expressed as follows SQNR db = σ ( ) 10log = E m 10log 20log σ E m m = norm( m) norm( m m ) 2 2 m 2 2 e ( q) q (11) where is the variance of the input analog signal m(t) and is the variance of the quantization noise error as stated in equation 4. 6
7 3.2 Performance Tradeoffs From equation 10, and for reasonable large values of R, the bandwidth of the serial PCM signal will be significantly larger than the bandwidth of the original analog signal it represents. Thus, increasing the number of quantization levels will lead to the negative effect of increasing the transmission bandwidth. However, this increased number of quantization levels will result in the positive effect of reducing the quantization error in equation 11 and thus, improving the SQNR. Therefore, there exists a tradeoff between BCM transmission bandwidth (cost) and the SQNR (quality). 4. EXPERIMENT SOFTWARE 4.1 Introductory Information In this lab experiment, the MATLAB software will be used to understand and simulate the basic concepts and mechanisms of uniform and nonuniform PCM quantizers. MATLAB is an interactive matrix based system for scientific and engineering numeric computation and visualization. Its strength lies in the fact that complex numerical problems can be solved easily and in fraction of the time required with a programming language such as Fortran or C. it is also powerful in the sense that by using its relatively simple programming capabilities, MATLAB can be easily extended to create new commands and functions. 4.2 Getting familiar with related MATLAB Commands and Functions 1. Open and start the MATLAB program by double-clicking the MATLAB icon. 2. In the MATLAB COMMAND WINDOW, learn about the following commands using the MATLAB help. Explain briefly the functionality of each command and also perform two arbitrary corresponding examples to enhance your familiarity. >> help randn >> help abs >> help max 7
8 >> help length >> help ones >> help fix >> help find >> help norm >> help echo >> help pause >> help sort >> help global >> help de2bi 8
9 4.3 SIMULATION OF PCM OPERATIONS USING MATLAB Setup of PCM MATLAB Functions and Scripts into MATLAB Environment In this experiment, there are 7 MATLAB scripts; uniform_ex1.m, uniform_ex2.m, uniform_ex3.m, uniform_ex4.m, uniform_ex5.m, nonuniform_ex4.m, and finally nonuniform_ex5.m. The first five scripts are based on mid-rise uniform quantization (even number of quantization levels) whereas the last two examples are based on a µ-law nonuniform quantization. These 7 MATLAB scripts (examples) use another 5 MATLAB functions; uniform_pcm.m, mulaw_pcm.m, mulaw.m, invmulaw.m, and signum.m. Figure 4 shows a roadmap that describes the interrelationships between the individual MATLAB scripts and functions. For instance, when running the nonuniform_ex5.m script, this script will call the mulaw.m function which will then call the functions unifro_pcm.m, mulaw.m, and invlulaw.m where the last two functions invokes the signum.m function implicitly. Figure 4: Roadmap showing the interrelationships between MATLAB scripts and functions. To setup the experiment, follow the following steps: 1. Go to MATLAB CURRENT DIRECTROY WINDOW and create a folder and name it as DTL1_PCM. 9
10 2. Copy and paste all the MATLAB scripts and functions below into individual new m- files and save them into the DTL1_PCM folder. By the end of this step, your DTL1_PCM should contain a total of 12 m-files. 3. You only need to run the 7 MATLAB scripts whereas the other 5 MATLAB functions will be called automatically by corresponding scripts as shown in Figure 4. To run a script, double-click its m-file and then click on the Run button and follow the requested commands in the COMMAND WINDOW (if any). 4. Proceed to section to start exercising the examples provided. Please analyze the codes carefully and understand the effect of executing each individual line. This is a crucial task as it will help you to easily modify a code for a given problem PCM MATLAB-BASED FUNCTIONS Please STUDY the following functions carefully! Function: uniform_pcm This function, given next, takes as its input a sequence of sampled values (m_samp) and the number of desired quantization levels (L) and finds the quantized sequence (m_quan), the encoded sequence (code), and the resulting SQNR (sqnr) in db. It is used in uniform quantization and it is also used with other functions in nonuniform quantization as shown in Figure 4. Copy and paste this MATLAB function into an m-file and save it as uniform_pcm.m function [sqnr,m_quan,code]=uniform_pcm(m_samp,l) global q %UNIFORM_PCM uniform PCM encoding of a sequence % [sqnr,m_quan,code]= uniform_pcm(m_samp,l) % m_samp = input sampled sequence. % L = number of quantization levels (even). % sqnr = output SQNR (in db). % m_quan = quantized output before encoding. % idx_quan = index of quantized output. % code = the encoded output. m_max = max(abs(m_samp)); % Find the maximum value of m_samp. m_quan = m_samp/m_max; % Normalizing m_samp. idx_quan = m_quan; % Quantization index. delta = 2/L; % Quantization step. q = delta.*[0:l-1]; % Define quantization regions. q = q-((l-1)/2)*delta; % Centralize all quantization levels % around the x-axis. for i=1:l m_quan(find((q(i)-delta/2 <= m_quan) & (m_quan <= q(i)+delta/2)))=... q(i).*ones(1,length(find((q(i)-delta/2 <= m_quan) &... (m_quan <= q(i)+delta/2)))); idx_quan(find(m_quan==q(i)))=(i-1).*ones(1,length(find(m_quan==q(i)))); end 10
11 m_quan; idx_quan; m_quan = m_quan * m_max; % Release normalization for quantized values. R =ceil(log2(l)); % Define no. of bits per codeword. code = de2bi(idx_quan', R, 'left-msb'); % Generate codewords. sqnr = 20 * log10(norm(m_samp)/norm(m_samp - m_quan)); % Estimate SQNR. Function: mulaw_pcm This function is the equivalent of the m-file uniform_pcm.m when using a µ-law PCM scheme. It takes as its input a sequence of sampled values (m_samp) and the number of desired quantization levels (L), and the compression constant µ and finds the quantized sequence (m_quan), the encoded sequence (code), and the resulting SQNR (sqnr) in db. Copy and paste this MATLAB function into an m-file and save it as mulaw_pcm.m function [sqnr,m_quan,code]=mulaw_pcm(m_samp,l,mu) %MULAW_PCM mu-law PCM encoding of a sequence % [SQNR,A_QUAN,CODE]=MULAw_PCM(m_samp,L,MU). % m_samp = input sequence. % L = number of quantization levels (even). % sqnr = output SQNR (in db). % m_quan = quantized output before encoding. % code = the encoded output. % Call the mulaw function: [y,m_max]=mulaw(m_samp,mu); % Call the uniform_pcm function: [sqnr,y_quan,code]=uniform_pcm(y,l); % Call the invmulaw function: x = invmulaw(y_quan,mu); m_quan = m_max*x; sqnr = 20*log10(norm(m_samp)/ norm(m_samp - m_quan)); Function: mulaw This function realizes the µ -law nonlinearity used in nonuniform quantization. The inputs to this function are the sampled sequence and µ and it produces the compressed output y and the maximum value of the samples sequence m_max. Copy and paste this MATLAB function into an m-file and save it as mulaw.m function [y,m_max]=mulaw(m_samp,mu) %MULAW mu-law nonlinearity for nonuniform PCM % Y = MULAW(M_SAMP,MU). % M_SAMP = input vector. m_max = max(abs(m_samp)); y =(log(1+mu*abs(m_samp/m_max))./log(1+mu)).*signum(m_samp); 11
12 Function: invmulaw This function is the inverse of the µ-law; the inputs are the compressed sequence y and µ and the output is the decompressed one x. Copy and paste this MATLAB function into an m-file and save it as invmulaw.m function x = invmulaw(y,mu) %INVMULAW The inverse of mu-law nonlinearity %X=INVMULAW(Y,MU) Y=normalized output of the mu-law nonlinearity. x=( ((1+mu).^(abs(y))-1)./mu).*signum(y); Function: signum This function is used to realize the sign function which is often called the signum function in mathematics. The output of this function is -1 if the current input value is negative, 0 if the current input value is also 0, and +1 if the input is positive. This function is used by the mulaw.m and invmulaw.m m-files. Copy and paste thi s MATLAB function into an m-file and save it as signum.m function y = signum(x) %SIGNUM finds the signum of a vector. % Y=SIGNUM(X) % X=input vector y=x; y(find(x>0))=ones(size(find(x> 0))); y(find(x<0))=-ones(size(find(x<0))); y(find(x==0))=zeros(size(find(x==0))); PCM MATLAB-BASED SCRIPTS (EXAMPLES) Please RUN the following scripts and answer the corresponding questions! Uniform Quantization: EXAMPLE (uniform_ex1): This example is just an illustrative example with very low sampling frequency. It is u sed to allow you to investigate easily on the resulting outputs. Two figures will be generated; the first one shows the original input signal and its samples whereas the second one shows the normalized signal with its quantized values. In addition, the SQNR and the encoded quantized samples (codewords) are returned. Remember that this is mid-rise uniform quantization where 12
13 the number of quantization levels has to be even (e.g. 8 as in this example). Copy and paste this MATLAB script into an m-file and save it as uniform_ex1.m % MATLAB script for Illustrative Example uniform_ex1.m clc;clear;close all % echo on global q t m = [0:pi/100:2*pi]; = 10 * sin(t); t_samp = [0:pi/4 :2*pi]; m_samp = 10 * sin(t_samp) figure(1) plot (t,m,'-b','linewidth', 2) hold on stem (t_samp,m_samp, '--ro','linewidth', 2) hold on legend('original signal','sampled signal'); axis([0 2*pi ]) L=16; [sqnr,m_quan,code]=uniform_pcm(m_samp,l) figure(2) plot (t,m/max(m),'-b','linewidth', 2) hold on stem (t_samp,m_samp/max(m), '--ro','linewidth', 2) hold on for i=1:l plot (t,q(i)* ones(1,length(t)),'--g');hold on end legend('normalized original signal','normalized sampled signal'); axis([0 2*pi ]) echo off Questions: 1) Write down the samples of the signal, their quantized values, and their codewords. 2) Show the waveforms of the second figure generated on a full page. Define the quantization regions, indicate the quantization levels, indicate the amplitudes of the quantized samples, and show how the quantized samples have been successfully mapped to the corresponding quantization levels. 3) On your sketch above, show the assigned codewords to each quantization level and show that the codewords obtained are correct. EXAMPLE (uniform_ex2): This example generates a sinusoidal signal with amplitude =1. Using uniform quantization, the samples sequence is quantized using 8 and 16 quantization levels. It plots the original signal and the quantized signal on the same axes. 13
14 Copy and paste this MATLAB script into an m-file and save it as uniform_ex2.m % MATLAB script for Illustrative Example uniform_ex2.m clc;clear;close all echo on t_samp = [0:0.01:10]; m_samp = sin(t_samp); [ sqnr_8l,m_quan_8l,code_8l]=uniform_pcm(m_samp,8); [sqnr_16l,m_quan_16l,code_16l]=uniform_pcm(m_samp,16); pause sqnr_8l % Press a key to see the SQNR for L = 8. pause % Press a key to see the SQNR for L = 16. sqnr_16l pause % Press a key to see the plot of the signal and its % quantized versions. t = t_samp; m = m_samp; plot(t,m,'-',t,m_quan_8l,'-.',t,m_quan_16l,'-',t,zeros(1,length(t)),... 'linewidth', 2) legend('original','quantized (L=8)','Quantized (L=16)','Location',... 'SouthEast'); % pause % Press a key to see the first 5 samples, corresponding quanited % % values, and corresponding codewords with 8 quantization levels % m(1:5) % m_quan_8l(1:5) % code_8l(1:5,:) % % pause % Press a key to see the first 5 samples, corresponding quanited % % values, and corresponding codewords with 16 quantization levels % m(1:5) % m_quan_16l(1:5) % code_16l(1:5,:) echo off Questions: 1) Determine the sampling frequency used in this example. 2) Record the SQNR obtained in the two cases where the number of quantization levels, L, is 8 and 16. Compare the values obtained. Justify your answer. 3) View the MATLAB figure generated in full screen and observe the nature of the two quantization signals. Relate your observation to the SQNR values obtained above. EXAMPLE (uniform_ex3): This example generates a sequence of length 500 of zero mean, unit variance Gaussian random variables. It calls the uniform_pcm function to evaluate the SQNR with 64 quantization levels. In addition, it displays the first 5 samples, their corresponding quantized values, and the corresponding codewords. 14
15 Copy and paste this MATLAB script into an m-file and save it as uniform_ex3.m % MATLAB script for Illustrative Example uniform_ex3.m clc;clear;close all echo on m_samp = randn(1,500); L = 64; [sqnr,m_quan,code]=uniform_pcm(m_samp,l); pause % Press a key to see the SQNR. sqnr pause % Press a key to see the first five input values. m_samp(1: 5) pause % Press a key to see the first five quantized values. m_quan(1:5) pause % Press a key to see the first five codewords. code(1:5,:) echo off Questions: 1) Record the first 5 samples obtained, their corresponding quantized values, and the corresponding codewords. 2) How many bits per codeword is used? Why is it so? 3) Show the PCM transmission bandwidth versus the SQNR tradeoff discussed in section 3.2 by increasing the number of quantization levels to 128 (you need to estimate the PCM bandwidth and SQNR for the two cases). EXAMPLE (uniform_ex4): In this example, the quantization error, defined as the difference between the input value and the quantized value. Also, it plots the quantized output values as a function of the input value. This is done with the number of quantization levels set to 16, 64, and 128. Uniform quantization is used. Copy and paste this MATLAB script into an m-file and save it as uniform_ex4.m % MATLAB script for Illustrative Example uniform_ex4.m clc;clear;close all % echo on no_samp = 500; L = [ ]; for i=1:length(l) randn('state',0) m_samp= randn(1,no_samp); [sqnr,m_quan,code]=uniform_pcm(m_samp,l(i)); % L(i) % pause % Press a key to see the SQNR. sqnr % pause % Press a key to see the first five input values. 15
16 % m_samp(1:5) % pause % Press a key to see the first five quantized values. % m_quan(1:5) % pause % Press a key to see the first five codewords. % code(1:5,:) % Plot the quantization error for each sample. q_error = m_samp - m_quan; figure; plot ([1:no_samp],q_error) % Plot the quantized value as a function of the input value. [Y,Index]=sort( m_samp); figure; plot(y,m_quan(index)) end echo off Questions: 1) Record the SQNR values obtained with the number of quantization levels set to 16, 64, and 128 and show the figures obtained. 2) On the figures of quantization error in each sample, compare between the natures of the curves for the 3 cases with different number of quantization levels. 3) Observe the changes between the 3 figures of input-output relationships. How can you relate this to the SQNR values recorded above? EXAMPLE (uniform_ex5): In this example, a non-stationary sequence of length 500 consists of two parts. The first 20 samples are generated according to a Gaussian random variable with zero mean and variance 400 (σ = 20), and the next 480 samples are drawn according to a Gaussian random variable with mean and variance 1. Uniform quantization is used. Copy and paste this MATLAB script into an m-file and save it as uniform_ex5.m % MATLAB script for Illustrative Example uniform_ex5.m clc;clear;close all % echo on no_samp = 500; L = [ ]; for i=1:length(l) randn('state',0) m_samp= [20*randn(1,no_samp-480) randn(1,no_samp-20)]; [sqnr,m_quan,code]=uniform_pcm(m_samp,l(i)); % L(i) % pause % Press a key to see the SQNR. sqnr % pause % Press a key to see the first five input values. % m_samp(1:5) % pause % Press a key to see the first five quantized values. % m_quan(1:5) % pause % Press a key to see the first five codewords. 16
17 % code(1:5,:) % Plot the quantization error for each sample. q_error = m_samp - m_quan; figure; plot ([1:no_samp],q_error) % Plot the quantized value as a function of the input value. [Y,Index]=sort( m_samp); figure; plot(y,m_quan(index)) end echo off Questions: 1) Record the SQNR values obtained with the number of quantization levels set to 16, 64, and 128 and show the figures obtained. 2) Explain how is the sort(m_samp) command in the script above functioning? 3) What is the effect of the randn('state',0)command? Nonuniform Quantization: EXAMPLE (nonuniform_ex4): This example is similar to the preceding uniform_ex4.m example above except that a µ-law nonuniform quantization is used here. Copy and paste this MATLAB script into an m-file and save it as nonuniform_ex4.m % MATLAB script for Illustrative Example nonuniform_ex4.m clc;clear;close all % echo on no_samp = 500; L = [ ]; mu = 255; for i=1:length(l) randn('state',0) m_samp=randn(1,no_samp); [sqnr,m_quan,code]=mulaw_pcm(m_samp,l(i),mu); % L(i) % pause % Press a key to see the SQNR. sqnr % pause % Press a key to see the first five input values. % m_samp(1:5) % % pause % Press a key to see the first five quantized values. m_quan(1:5) % pause % Press a key to see the first five codewords. % code(1:5,:) % Plot the quantization error for each sample. q_error = m_samp - m_quan; figure; plot ([1:no_samp],q_error) % Plot the quantized value as a function of the input value. 17
18 [Y,Index]=sort(m_samp); figure; plot(y,m_quan(index)) end echo off Questions: 1) Record the SQNR values obtained with the number of quantization levels set to 16, 64, and 128 and show the figures obtained. 2) What is the effect of the command figure in the line; figure; plot ([1:no_samp],q_error) 3) Explain briefly the execution flow of this script and show why the uniform_pcm.m m-file is still used and invoked by the mulaw_pcm.m m-file. EXAMPLE (nonuniform_ex5): This example is similar to the preceding uniform_ex5.m example above except that µ-law nonuniform quantization is used here. Copy and paste this MATLAB script into an m-file and save it as nonuniform_ex5.m % MATLAB script for Illustrative Example nonuniform_ex5.m clc;clear;close all % echo on no_samp = 500; L = [ ]; mu = 255; for i=1:length(l) randn('state',0) m_samp= [20*randn(1,no_samp-480) randn(1,no_samp-20)]; [sqnr,m_quan,code]=mulaw_pcm(m_samp,l(i),mu); % L(i) % pause % Press a key to see the SQNR. sqnr % pause % Press a key to see the first five input values. % m_samp(1:5) % pause % Press a key to see the first five quantized values. % m_quan(1:5) % pause % Press a key to see the first five codewords. % code(1:5,:) % Plot the quantization error for each sample. q_error = m_samp - m_quan; figure; plot ([ 1:no_samp],q_error) % Plot the quantized value as a function of the input value. [Y,Index]=sort(m_samp); figure; plot(y, m_quan(index)) end echo off 18
19 Questions: 1) Record the SQNR values obtained 64, and 128 and show the figures obtained. with the number of quantization levels set to 16, 2) Tabulate the SQNR values at different number of quantization levels (16, 64, and 128) obtained from the scripts uniform_ex4.m, uniform_ex5.m, nonuniform_ex4.m, and nonuniform_ex5.m. 3) Compare between the SQNR values obtained from the four scripts as tabulated above. Show which quantization scheme, uniform or nonuniform, is superior to the other one and how this superiority is sensitive to the dynamic range of the input sequence? Justify your answer PCM MATLAB-BASED EXERCISES PROBLEM (1): Construct a MATLAB script for a mid-tread uniform quantizer (odd number of quantization levels) that can digitize the analog signal m(t) = t 2 sin(t), -10 sec t 10 sec with a sampling duration of 1 sec and 7 quantization levels. Show the signal samples, their quantized values, and the corresponding codewords. Plot the original and quantized signals and then verify graphically the correctness of the codewords obtained. Then, vary the odd number of quantization levels and plot the corresponding SQNR values as a function of the number of bits per codeword. Consider that the number of quantization levels is L = 2 i -1, where i = 3, 4,, 8. PROBLEM (2): Develop two functions for an A-law compressor and its inverse and test their correct functionality as they are supposed to compensate each other for an arbitrary input sequence. Repeat the two examples for nonuniform_ex4.m and nonuniform_ex5.m using A-law and its inverse functions and then tabulate and compare the SQNR values obtained for 3 different quantization levels. Discuss the PCM performance in the two cases and its sensitivity to the dynamic range of the input sequence. REFERENCES [1] J. G. Proakis, M. Salehi, and G. Bauch, 2004, Contemporary Communication Systems using MATLAB, Thomoson. [2] J. G. Proakis and M. Salehi, 2002, Communication Systems Engineering, Prentice Hall. [3] L. W. Couch, 2007, Digital and Analog Communication Systems, Prentice Hall. [4] M. Rice, 2009, Digital Communications: A Discrete-Time Approach, Prentice Hall. [5] B. P. Lathi, 1998, Modern Digital & Analog Communication Systems, Oxford. 19
Principles of Communications
Principles of Communications Weiyao Lin, PhD Shanghai Jiao Tong University Chapter 4: Analog-to-Digital Conversion Textbook: 7.1 7.4 2010/2011 Meixia Tao @ SJTU 1 Outline Analog signal Sampling Quantization
More informationChapter 10 Applications in Communications
Chapter 10 Applications in Communications School of Information Science and Engineering, SDU. 1/ 47 Introduction Some methods for digitizing analog waveforms: Pulse-code modulation (PCM) Differential PCM
More information7.1 Sampling and Reconstruction
Haberlesme Sistemlerine Giris (ELE 361) 6 Agustos 2017 TOBB Ekonomi ve Teknoloji Universitesi, Guz 2017-18 Dr. A. Melda Yuksel Turgut & Tolga Girici Lecture Notes Chapter 7 Analog to Digital Conversion
More informationCommunication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi
Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture - 41 Pulse Code Modulation (PCM) So, if you remember we have been talking
More informationRandom Signal Transformations and Quantization
York University Department of Electrical Engineering and Computer Science EECS 4214 Lab #3 Random Signal Transformations and Quantization 1 Purpose In this lab, you will be introduced to transformations
More informationLab 4: Quantization, Oversampling, and Noise Shaping
Lab 4: Quantization, Oversampling, and Noise Shaping Due Friday 04/21/17 Overview: This assignment should be completed with your assigned lab partner(s). Each group must turn in a report composed using
More informationThe information loss in quantization
The information loss in quantization The rough meaning of quantization in the frame of coding is representing numerical quantities with a finite set of symbols. The mapping between numbers, which are normally
More informationEE4512 Analog and Digital Communications Chapter 4. Chapter 4 Receiver Design
Chapter 4 Receiver Design Chapter 4 Receiver Design Probability of Bit Error Pages 124-149 149 Probability of Bit Error The low pass filtered and sampled PAM signal results in an expression for the probability
More informationDigital Signal Processing
COMP ENG 4TL4: Digital Signal Processing Notes for Lecture #3 Wednesday, September 10, 2003 1.4 Quantization Digital systems can only represent sample amplitudes with a finite set of prescribed values,
More informationFinite Word Length Effects and Quantisation Noise. Professors A G Constantinides & L R Arnaut
Finite Word Length Effects and Quantisation Noise 1 Finite Word Length Effects Finite register lengths and A/D converters cause errors at different levels: (i) input: Input quantisation (ii) system: Coefficient
More informationPulse-Code Modulation (PCM) :
PCM & DPCM & DM 1 Pulse-Code Modulation (PCM) : In PCM each sample of the signal is quantized to one of the amplitude levels, where B is the number of bits used to represent each sample. The rate from
More informationPCM Reference Chapter 12.1, Communication Systems, Carlson. PCM.1
PCM Reference Chapter 1.1, Communication Systems, Carlson. PCM.1 Pulse-code modulation (PCM) Pulse modulations use discrete time samples of analog signals the transmission is composed of analog information
More informationModule 3. Quantization and Coding. Version 2, ECE IIT, Kharagpur
Module Quantization and Coding ersion, ECE IIT, Kharagpur Lesson Logarithmic Pulse Code Modulation (Log PCM) and Companding ersion, ECE IIT, Kharagpur After reading this lesson, you will learn about: Reason
More informationE303: Communication Systems
E303: Communication Systems Professor A. Manikas Chair of Communications and Array Processing Imperial College London Principles of PCM Prof. A. Manikas (Imperial College) E303: Principles of PCM v.17
More informationSource Coding. Scalar Quantization
Source Coding Source Coding The Communications Toolbox includes some basic functions for source coding. Source coding, also known as quantization or signal formatting, includes the concepts of analog-to-digital
More informationCMPT 889: Lecture 3 Fundamentals of Digital Audio, Discrete-Time Signals
CMPT 889: Lecture 3 Fundamentals of Digital Audio, Discrete-Time Signals Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University October 6, 2005 1 Sound Sound waves are longitudinal
More informationAnalysis of methods for speech signals quantization
INFOTEH-JAHORINA Vol. 14, March 2015. Analysis of methods for speech signals quantization Stefan Stojkov Mihajlo Pupin Institute, University of Belgrade Belgrade, Serbia e-mail: stefan.stojkov@pupin.rs
More informationMultimedia Systems Giorgio Leonardi A.A Lecture 4 -> 6 : Quantization
Multimedia Systems Giorgio Leonardi A.A.2014-2015 Lecture 4 -> 6 : Quantization Overview Course page (D.I.R.): https://disit.dir.unipmn.it/course/view.php?id=639 Consulting: Office hours by appointment:
More informationImage Compression using DPCM with LMS Algorithm
Image Compression using DPCM with LMS Algorithm Reenu Sharma, Abhay Khedkar SRCEM, Banmore -----------------------------------------------------------------****---------------------------------------------------------------
More informationMultimedia Communications. Scalar Quantization
Multimedia Communications Scalar Quantization Scalar Quantization In many lossy compression applications we want to represent source outputs using a small number of code words. Process of representing
More informationMATLAB BASICS. Instructor: Prof. Shahrouk Ahmadi. TA: Kartik Bulusu
MATLAB BASICS Instructor: Prof. Shahrouk Ahmadi 1. What are M-files TA: Kartik Bulusu M-files are files that contain a collection of MATLAB commands or are used to define new MATLAB functions. For the
More informationEE 521: Instrumentation and Measurements
Aly El-Osery Electrical Engineering Department, New Mexico Tech Socorro, New Mexico, USA September 23, 2009 1 / 18 1 Sampling 2 Quantization 3 Digital-to-Analog Converter 4 Analog-to-Digital Converter
More informationDigital Signal Processing 2/ Advanced Digital Signal Processing Lecture 3, SNR, non-linear Quantisation Gerald Schuller, TU Ilmenau
Digital Signal Processing 2/ Advanced Digital Signal Processing Lecture 3, SNR, non-linear Quantisation Gerald Schuller, TU Ilmenau What is our SNR if we have a sinusoidal signal? What is its pdf? Basically
More informationVarious signal sampling and reconstruction methods
Various signal sampling and reconstruction methods Rolands Shavelis, Modris Greitans 14 Dzerbenes str., Riga LV-1006, Latvia Contents Classical uniform sampling and reconstruction Advanced sampling and
More information2. SPECTRAL ANALYSIS APPLIED TO STOCHASTIC PROCESSES
2. SPECTRAL ANALYSIS APPLIED TO STOCHASTIC PROCESSES 2.0 THEOREM OF WIENER- KHINTCHINE An important technique in the study of deterministic signals consists in using harmonic functions to gain the spectral
More informationQuantization 2.1 QUANTIZATION AND THE SOURCE ENCODER
2 Quantization After the introduction to image and video compression presented in Chapter 1, we now address several fundamental aspects of image and video compression in the remaining chapters of Section
More information2.004 Dynamics and Control II Spring 2008
MIT OpenCourseWare http://ocw.mit.edu 2.004 Dynamics and Control II Spring 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. Massachusetts Institute
More informationNumber Representation and Waveform Quantization
1 Number Representation and Waveform Quantization 1 Introduction This lab presents two important concepts for working with digital signals. The first section discusses how numbers are stored in memory.
More informationE2.5 Signals & Linear Systems. Tutorial Sheet 1 Introduction to Signals & Systems (Lectures 1 & 2)
E.5 Signals & Linear Systems Tutorial Sheet 1 Introduction to Signals & Systems (Lectures 1 & ) 1. Sketch each of the following continuous-time signals, specify if the signal is periodic/non-periodic,
More informationETSF15 Analog/Digital. Stefan Höst
ETSF15 Analog/Digital Stefan Höst Physical layer Analog vs digital Sampling, quantisation, reconstruction Modulation Represent digital data in a continuous world Disturbances Noise and distortion Synchronization
More informationGaussian source Assumptions d = (x-y) 2, given D, find lower bound of I(X;Y)
Gaussian source Assumptions d = (x-y) 2, given D, find lower bound of I(X;Y) E{(X-Y) 2 } D
More informationencoding without prediction) (Server) Quantization: Initial Data 0, 1, 2, Quantized Data 0, 1, 2, 3, 4, 8, 16, 32, 64, 128, 256
General Models for Compression / Decompression -they apply to symbols data, text, and to image but not video 1. Simplest model (Lossless ( encoding without prediction) (server) Signal Encode Transmit (client)
More informationCentre for Mathematical Sciences HT 2017 Mathematical Statistics
Lund University Stationary stochastic processes Centre for Mathematical Sciences HT 2017 Mathematical Statistics Computer exercise 3 in Stationary stochastic processes, HT 17. The purpose of this exercise
More informationScalar and Vector Quantization. National Chiao Tung University Chun-Jen Tsai 11/06/2014
Scalar and Vector Quantization National Chiao Tung University Chun-Jen Tsai 11/06/014 Basic Concept of Quantization Quantization is the process of representing a large, possibly infinite, set of values
More informationarxiv: v1 [cs.it] 20 Jan 2018
1 Analog-to-Digital Compression: A New Paradigm for Converting Signals to Bits Alon Kipnis, Yonina C. Eldar and Andrea J. Goldsmith fs arxiv:181.6718v1 [cs.it] Jan 18 X(t) sampler smp sec encoder R[ bits
More informationHomework 1 Solutions
18-9 Signals and Systems Profs. Byron Yu and Pulkit Grover Fall 18 Homework 1 Solutions Part One 1. (8 points) Consider the DT signal given by the algorithm: x[] = 1 x[1] = x[n] = x[n 1] x[n ] (a) Plot
More informationModule 2 LOSSLESS IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur
Module 2 LOSSLESS IMAGE COMPRESSION SYSTEMS Lesson 5 Other Coding Techniques Instructional Objectives At the end of this lesson, the students should be able to:. Convert a gray-scale image into bit-plane
More informationEE123 Digital Signal Processing
EE123 Digital Signal Processing Lecture 19 Practical ADC/DAC Ideal Anti-Aliasing ADC A/D x c (t) Analog Anti-Aliasing Filter HLP(jΩ) sampler t = nt x[n] =x c (nt ) Quantizer 1 X c (j ) and s < 2 1 T X
More informationDSP First. Laboratory Exercise #10. The z, n, and ˆω Domains
DSP First Laboratory Exercise #10 The z, n, and ˆω Domains 1 Objective The objective for this lab is to build an intuitive understanding of the relationship between the location of poles and zeros in the
More informationCoding for Digital Communication and Beyond Fall 2013 Anant Sahai MT 1
EECS 121 Coding for Digital Communication and Beyond Fall 2013 Anant Sahai MT 1 PRINT your student ID: PRINT AND SIGN your name:, (last) (first) (signature) PRINT your Unix account login: ee121- Prob.
More informationES205 Analysis and Design of Engineering Systems: Lab 1: An Introductory Tutorial: Getting Started with SIMULINK
ES205 Analysis and Design of Engineering Systems: Lab 1: An Introductory Tutorial: Getting Started with SIMULINK What is SIMULINK? SIMULINK is a software package for modeling, simulating, and analyzing
More informationClass of waveform coders can be represented in this manner
Digital Speech Processing Lecture 15 Speech Coding Methods Based on Speech Waveform Representations ti and Speech Models Uniform and Non- Uniform Coding Methods 1 Analog-to-Digital Conversion (Sampling
More informationTime-domain representations
Time-domain representations Speech Processing Tom Bäckström Aalto University Fall 2016 Basics of Signal Processing in the Time-domain Time-domain signals Before we can describe speech signals or modelling
More informationLecture 2: Introduction to Audio, Video & Image Coding Techniques (I) -- Fundaments
Lecture 2: Introduction to Audio, Video & Image Coding Techniques (I) -- Fundaments Dr. Jian Zhang Conjoint Associate Professor NICTA & CSE UNSW COMP9519 Multimedia Systems S2 2006 jzhang@cse.unsw.edu.au
More informationECS 332: Principles of Communications 2012/1. HW 4 Due: Sep 7
ECS 332: Principles of Communications 2012/1 HW 4 Due: Sep 7 Lecturer: Prapun Suksompong, Ph.D. Instructions (a) ONE part of a question will be graded (5 pt). Of course, you do not know which part will
More informationEE 121: Introduction to Digital Communication Systems. 1. Consider the following discrete-time communication system. There are two equallly likely
EE 11: Introduction to Digital Communication Systems Midterm Solutions 1. Consider the following discrete-time communication system. There are two equallly likely messages to be transmitted, and they are
More informationA Nonuniform Quantization Scheme for High Speed SAR ADC Architecture
A Nonuniform Quantization Scheme for High Speed SAR ADC Architecture Youngchun Kim Electrical and Computer Engineering The University of Texas Wenjuan Guo Intel Corporation Ahmed H Tewfik Electrical and
More informationLecture 2: Introduction to Audio, Video & Image Coding Techniques (I) -- Fundaments. Tutorial 1. Acknowledgement and References for lectures 1 to 5
Lecture : Introduction to Audio, Video & Image Coding Techniques (I) -- Fundaments Dr. Jian Zhang Conjoint Associate Professor NICTA & CSE UNSW COMP959 Multimedia Systems S 006 jzhang@cse.unsw.edu.au Acknowledgement
More informationINTRODUCTION TO DELTA-SIGMA ADCS
ECE37 Advanced Analog Circuits INTRODUCTION TO DELTA-SIGMA ADCS Richard Schreier richard.schreier@analog.com NLCOTD: Level Translator VDD > VDD2, e.g. 3-V logic? -V logic VDD < VDD2, e.g. -V logic? 3-V
More informationSignal types. Signal characteristics: RMS, power, db Probability Density Function (PDF). Analogue-to-Digital Conversion (ADC).
Signal types. Signal characteristics:, power, db Probability Density Function (PDF). Analogue-to-Digital Conversion (ADC). Signal types Stationary (average properties don t vary with time) Deterministic
More informationComputer Exercise 1 Estimation and Model Validation
Lund University Time Series Analysis Mathematical Statistics Fall 2018 Centre for Mathematical Sciences Computer Exercise 1 Estimation and Model Validation This computer exercise treats identification,
More informationThis examination consists of 11 pages. Please check that you have a complete copy. Time: 2.5 hrs INSTRUCTIONS
THE UNIVERSITY OF BRITISH COLUMBIA Department of Electrical and Computer Engineering EECE 564 Detection and Estimation of Signals in Noise Final Examination 6 December 2006 This examination consists of
More informationSPEECH ANALYSIS AND SYNTHESIS
16 Chapter 2 SPEECH ANALYSIS AND SYNTHESIS 2.1 INTRODUCTION: Speech signal analysis is used to characterize the spectral information of an input speech signal. Speech signal analysis [52-53] techniques
More informationAnalog Digital Sampling & Discrete Time Discrete Values & Noise Digital-to-Analog Conversion Analog-to-Digital Conversion
Analog Digital Sampling & Discrete Time Discrete Values & Noise Digital-to-Analog Conversion Analog-to-Digital Conversion 6.082 Fall 2006 Analog Digital, Slide Plan: Mixed Signal Architecture volts bits
More informationSV6: Polynomial Regression and Neural Networks
Signal and Information Processing Laboratory Institut für Signal- und Informationsverarbeitung Fachpraktikum Signalverarbeitung SV6: Polynomial Regression and Neural Networks 1 Introduction Consider the
More informationCentre for Mathematical Sciences HT 2017 Mathematical Statistics. Study chapters 6.1, 6.2 and in the course book.
Lund University Stationary stochastic processes Centre for Mathematical Sciences HT 2017 Mathematical Statistics Computer exercise 2 in Stationary stochastic processes, HT 17. The purpose with this computer
More informationState Feedback Controller for Position Control of a Flexible Link
Laboratory 12 Control Systems Laboratory ECE3557 Laboratory 12 State Feedback Controller for Position Control of a Flexible Link 12.1 Objective The objective of this laboratory is to design a full state
More information6 The SVD Applied to Signal and Image Deblurring
6 The SVD Applied to Signal and Image Deblurring We will discuss the restoration of one-dimensional signals and two-dimensional gray-scale images that have been contaminated by blur and noise. After an
More informationGeology 554 -Wilson Environmental and Exploration Geophysics II Computer Lab - Seismic Resolution I
Geology 554 -Wilson Environmental and Exploration Geophysics II Computer Lab - Seismic Resolution I In this lab we will examine the response of a thinning layer and use it to develop an understanding of
More informationchannel of communication noise Each codeword has length 2, and all digits are either 0 or 1. Such codes are called Binary Codes.
5 Binary Codes You have already seen how check digits for bar codes (in Unit 3) and ISBN numbers (Unit 4) are used to detect errors. Here you will look at codes relevant for data transmission, for example,
More informationC.M. Liu Perceptual Signal Processing Lab College of Computer Science National Chiao-Tung University
Quantization C.M. Liu Perceptual Signal Processing Lab College of Computer Science National Chiao-Tung University http://www.csie.nctu.edu.tw/~cmliu/courses/compression/ Office: EC538 (03)5731877 cmliu@cs.nctu.edu.tw
More informationData Converter Fundamentals
Data Converter Fundamentals David Johns and Ken Martin (johns@eecg.toronto.edu) (martin@eecg.toronto.edu) slide 1 of 33 Introduction Two main types of converters Nyquist-Rate Converters Generate output
More informationELEN E4810: Digital Signal Processing Topic 11: Continuous Signals. 1. Sampling and Reconstruction 2. Quantization
ELEN E4810: Digital Signal Processing Topic 11: Continuous Signals 1. Sampling and Reconstruction 2. Quantization 1 1. Sampling & Reconstruction DSP must interact with an analog world: A to D D to A x(t)
More information8 The SVD Applied to Signal and Image Deblurring
8 The SVD Applied to Signal and Image Deblurring We will discuss the restoration of one-dimensional signals and two-dimensional gray-scale images that have been contaminated by blur and noise. After an
More information8 The SVD Applied to Signal and Image Deblurring
8 The SVD Applied to Signal and Image Deblurring We will discuss the restoration of one-dimensional signals and two-dimensional gray-scale images that have been contaminated by blur and noise. After an
More informationDigital Circuits, Binary Numbering, and Logic Gates Cornerstone Electronics Technology and Robotics II
Digital Circuits, Binary Numbering, and Logic Gates Cornerstone Electronics Technology and Robotics II Administration: o Prayer Electricity and Electronics, Section 20.1, Digital Fundamentals: o Fundamentals:
More informationChemistry 14CL. Worksheet for the Molecular Modeling Workshop. (Revised FULL Version 2012 J.W. Pang) (Modified A. A. Russell)
Chemistry 14CL Worksheet for the Molecular Modeling Workshop (Revised FULL Version 2012 J.W. Pang) (Modified A. A. Russell) Structure of the Molecular Modeling Assignment The molecular modeling assignment
More informationConstellation Shaping for Communication Channels with Quantized Outputs
Constellation Shaping for Communication Channels with Quantized Outputs Chandana Nannapaneni, Matthew C. Valenti, and Xingyu Xiang Lane Department of Computer Science and Electrical Engineering West Virginia
More informationLaboratory 11 Control Systems Laboratory ECE3557. State Feedback Controller for Position Control of a Flexible Joint
Laboratory 11 State Feedback Controller for Position Control of a Flexible Joint 11.1 Objective The objective of this laboratory is to design a full state feedback controller for endpoint position control
More informationCoding for Discrete Source
EGR 544 Communication Theory 3. Coding for Discrete Sources Z. Aliyazicioglu Electrical and Computer Engineering Department Cal Poly Pomona Coding for Discrete Source Coding Represent source data effectively
More informationESE 250: Digital Audio Basics. Week 4 February 5, The Frequency Domain. ESE Spring'13 DeHon, Kod, Kadric, Wilson-Shah
ESE 250: Digital Audio Basics Week 4 February 5, 2013 The Frequency Domain 1 Course Map 2 Musical Representation With this compact notation Could communicate a sound to pianist Much more compact than 44KHz
More informationCS578- Speech Signal Processing
CS578- Speech Signal Processing Lecture 7: Speech Coding Yannis Stylianou University of Crete, Computer Science Dept., Multimedia Informatics Lab yannis@csd.uoc.gr Univ. of Crete Outline 1 Introduction
More informationDigital Signal Processing
Digital Signal Processing Introduction Moslem Amiri, Václav Přenosil Embedded Systems Laboratory Faculty of Informatics, Masaryk University Brno, Czech Republic amiri@mail.muni.cz prenosil@fi.muni.cz February
More informationPrinciples of Communications
Principles of Communications Chapter V: Representation and Transmission of Baseband Digital Signal Yongchao Wang Email: ychwang@mail.xidian.edu.cn Xidian University State Key Lab. on ISN November 18, 2012
More informationBASIC COMPRESSION TECHNIQUES
BASIC COMPRESSION TECHNIQUES N. C. State University CSC557 Multimedia Computing and Networking Fall 2001 Lectures # 05 Questions / Problems / Announcements? 2 Matlab demo of DFT Low-pass windowed-sinc
More information! Where are we on course map? ! What we did in lab last week. " How it relates to this week. ! Compression. " What is it, examples, classifications
Lecture #3 Compression! Where are we on course map?! What we did in lab last week " How it relates to this week! Compression " What is it, examples, classifications " Probability based compression # Huffman
More informationUsing a Microcontroller to Study the Time Distribution of Counts From a Radioactive Source
Using a Microcontroller to Study the Time Distribution of Counts From a Radioactive Source Will Johns,Eduardo Luiggi (revised by Julia Velkovska, Michael Clemens September 11, 2007 Abstract In this lab
More information9 THEORY OF CODES. 9.0 Introduction. 9.1 Noise
9 THEORY OF CODES Chapter 9 Theory of Codes After studying this chapter you should understand what is meant by noise, error detection and correction; be able to find and use the Hamming distance for a
More informationQuantization and Compensation in Sampled Interleaved Multi-Channel Systems
Quantization and Compensation in Sampled Interleaved Multi-Channel Systems The MIT Faculty has made this article openly available. Please share how this access benefits you. Your story matters. Citation
More informationEE-597 Notes Quantization
EE-597 Notes Quantization Phil Schniter June, 4 Quantization Given a continuous-time and continuous-amplitude signal (t, processing and storage by modern digital hardware requires discretization in both
More information1 Ex. 1 Verify that the function H(p 1,..., p n ) = k p k log 2 p k satisfies all 8 axioms on H.
Problem sheet Ex. Verify that the function H(p,..., p n ) = k p k log p k satisfies all 8 axioms on H. Ex. (Not to be handed in). looking at the notes). List as many of the 8 axioms as you can, (without
More informationAnalog to Digital Conversion
Analog to Digital Conversion ATmega Block Diagram Analog to Digital Converter Sample and Hold SA Converter Internal Bandgap eference 2 tj Analog to Digital Conversion Most of the real world is analog temperature,
More informationLecture 27 Frequency Response 2
Lecture 27 Frequency Response 2 Fundamentals of Digital Signal Processing Spring, 2012 Wei-Ta Chu 2012/6/12 1 Application of Ideal Filters Suppose we can generate a square wave with a fundamental period
More informationHigher-Order Σ Modulators and the Σ Toolbox
ECE37 Advanced Analog Circuits Higher-Order Σ Modulators and the Σ Toolbox Richard Schreier richard.schreier@analog.com NLCOTD: Dynamic Flip-Flop Standard CMOS version D CK Q Q Can the circuit be simplified?
More informationFault Tolerance Technique in Huffman Coding applies to Baseline JPEG
Fault Tolerance Technique in Huffman Coding applies to Baseline JPEG Cung Nguyen and Robert G. Redinbo Department of Electrical and Computer Engineering University of California, Davis, CA email: cunguyen,
More informationAutomatic Control II Computer exercise 3. LQG Design
Uppsala University Information Technology Systems and Control HN,FS,KN 2000-10 Last revised by HR August 16, 2017 Automatic Control II Computer exercise 3 LQG Design Preparations: Read Chapters 5 and 9
More informationModel-building and parameter estimation
Luleå University of Technology Johan Carlson Last revision: July 27, 2009 Measurement Technology and Uncertainty Analysis - E7021E MATLAB homework assignment Model-building and parameter estimation Introduction
More informationMultimedia Communications. Differential Coding
Multimedia Communications Differential Coding Differential Coding In many sources, the source output does not change a great deal from one sample to the next. This means that both the dynamic range and
More informationChapter 12 Variable Phase Interpolation
Chapter 12 Variable Phase Interpolation Contents Slide 1 Reason for Variable Phase Interpolation Slide 2 Another Need for Interpolation Slide 3 Ideal Impulse Sampling Slide 4 The Sampling Theorem Slide
More informationCoding theory: Applications
INF 244 a) Textbook: Lin and Costello b) Lectures (Tu+Th 12.15-14) covering roughly Chapters 1,9-12, and 14-18 c) Weekly exercises: For your convenience d) Mandatory problem: Programming project (counts
More informationChapter 9 Fundamental Limits in Information Theory
Chapter 9 Fundamental Limits in Information Theory Information Theory is the fundamental theory behind information manipulation, including data compression and data transmission. 9.1 Introduction o For
More informationProject IV Fourier Series
Project IV Fourier Series Robert Jerrard Goal of the project To develop understanding of how many terms of a Fourier series are required in order to well-approximate the original function, and of the differences
More informationIntroduction to Computational Neuroscience
CSE2330 Introduction to Computational Neuroscience Basic computational tools and concepts Tutorial 1 Duration: two weeks 1.1 About this tutorial The objective of this tutorial is to introduce you to: the
More informationω 0 = 2π/T 0 is called the fundamental angular frequency and ω 2 = 2ω 0 is called the
he ime-frequency Concept []. Review of Fourier Series Consider the following set of time functions {3A sin t, A sin t}. We can represent these functions in different ways by plotting the amplitude versus
More informationLinear Motion with Constant Acceleration
Linear Motion 1 Linear Motion with Constant Acceleration Overview: First you will attempt to walk backward with a constant acceleration, monitoring your motion with the ultrasonic motion detector. Then
More informationEXPERIMENT 2 Reaction Time Objectives Theory
EXPERIMENT Reaction Time Objectives to make a series of measurements of your reaction time to make a histogram, or distribution curve, of your measured reaction times to calculate the "average" or mean
More informationMARKOV CHAINS A finite state Markov chain is a sequence of discrete cv s from a finite alphabet where is a pmf on and for
MARKOV CHAINS A finite state Markov chain is a sequence S 0,S 1,... of discrete cv s from a finite alphabet S where q 0 (s) is a pmf on S 0 and for n 1, Q(s s ) = Pr(S n =s S n 1 =s ) = Pr(S n =s S n 1
More informationCSE370: Introduction to Digital Design
CSE370: Introduction to Digital Design Course staff Gaetano Borriello, Brian DeRenzi, Firat Kiyak Course web www.cs.washington.edu/370/ Make sure to subscribe to class mailing list (cse370@cs) Course text
More informationModern Digital Communication Techniques Prof. Suvra Sekhar Das G. S. Sanyal School of Telecommunication Indian Institute of Technology, Kharagpur
Modern Digital Communication Techniques Prof. Suvra Sekhar Das G. S. Sanyal School of Telecommunication Indian Institute of Technology, Kharagpur Lecture - 15 Analog to Digital Conversion Welcome to the
More informationResearch Article Doppler Velocity Estimation of Overlapping Linear-Period-Modulated Ultrasonic Waves Based on an Expectation-Maximization Algorithm
Advances in Acoustics and Vibration, Article ID 9876, 7 pages http://dx.doi.org/.55//9876 Research Article Doppler Velocity Estimation of Overlapping Linear-Period-Modulated Ultrasonic Waves Based on an
More information