1.(a) Write Write a MATLAB MATLAB program program to calcul calculate ate the 8-Poi 8-Point nt DFT of sequen sequence ce x[n] = {1,2,3,2,1,3,4,1}. Plot its Magnitude and Phase. (b)
Write Write a C program program to verify verify the above above progr program am for 8-DFT of the sequence sequence given given above above..
2.(a) Write Write a MATLAB MATLAB program program to verif verify y the Samplin Sampling g Theorem. Theorem. (b) Write Write a C Prog Program ram in in Code Code Compo Composer ser Stud Studio io to ver verify ify the the Linea Linearr Convo Convolut lution ion of of x[n] x[n] ={1,2,3,4,5} and h[n] = {1,2,2,3,3,4,4}
3.(a) Solve Solve the differen difference ce equation equation given given by y[n] - (1/4)y[n(1/4)y[n-1] 1] = x[n], if the input input to the system is x[n] = u[n]-u[n-10]. Write a MATLAB program to verify the answer and plot the output y[n]. (b) Write Write a C Prog Program ram in in Code Code Compo Composer ser Stud Studio io to ver verify ify the the Circu Circular lar Convo Convolut lution ion of of x[n] x[n] = {1,2,3,1} and h[n] = {1, 1,1,1,1}
4.(a) Write a Matlab program to calculate calculate the Autocorrelation Autocorrelation and Energy of a sequence x[n]={1,2,1,3,1,4,1,5}, and hence, verify the Energy and Symetry properties of the Autocorrelation Autocorrelation function. (b)
Write Write a MAT MATLAB LAB progra program m to des design ign an an FIR FIR “LOW “LOW PAS PASS” S” filte filterr with with the follow following ing specifications: specifications: Fsamp=8000Hz, Fpass=1500Hz, Twidth=100Hz, A stop=40. Use Blackman Widow for Coefficient generation.
5.(a) Calculate the Impulse Impulse and Step Responses Responses of a system described described by the difference difference equation: y[n] = 0.5*x[n] + (2/5) y[n-1] + 1.5*x[n-1]; The initial conditions for x(-1)= 3, y(-1)=4; Verify and plot the outputs in MATLAB.
(b)
Write Write a MATL MATLAB AB pro progra gram m to calc calcula ulate te the the circ circula ularr convo convolut lution ion of x[n]={ x[n]={1,5 1,5,3, ,3,2,7 2,7,6} ,6} and h[n] = {1, 2, 1, 3} in Time Domain.
6.(a) Write a MATLAB program to design design an FIR “HIGH PASS” filter with the following following specifications: specifications: Fsamp=8000Hz, Fpass=1500Hz, Twidth=100Hz, A stop=40. Use Blackman Widow for Coefficient generation. (b)
Write Write a Matl Matlab ab progr program am to calc calcula ulate te the the Autoc Autocor orrel relati ation on and and Energy Energy of of a sequen sequence ce x[n]= {1,2,3,4,5,3} and hence, verify the Energy and Symetry properties of the Autocorrelation Autocorrelation function.
7.(a) Write a MATLAB program to calculate the Linear Linear Convolution Convolution of two sequences sequences x[n] = {1,5,3,2,8,6,1} and h[n] = {1, 2, 1, 3,1} in Time Domain. (b) Write Write a Matl Matlab ab progr program am to calc calcula ulate te the the Autoc Autocor orrel relati ation on and and Energy Energy of of a sequen sequence ce x[n]= {1,2,3,4,5,3} and hence, verify the Energy and Symetry properties of the Autocorrelation Autocorrelation function.
8.(a) Write a MATLAB program to calculate the N-DFT of a sequence. Plot its Magnitude and Phase. (b)
Calculate the impulse response of a system described by the difference equation y[n]= x[n] + (1/2)x[n-1] +(1/4)x[n-2]; and hence, calculate the output of the system to the input x[n] = (1/4)n u[n]. Verify the ouputs in MATLAB.
9.(a) Write a MATLAB program to design an FIR “BAND STOP” Filter for the following specifications: Fc1=1500Hz, Fc2=2000Hz ,Fsamp=8000Hz, T =200Hz. Use width Blackman Window for Co-efficient generation. (b) Write a C Program to calculate the Impulse response of a system described by: H(z)=1 / (1 – 0.27z-1)
10.(a)Solve the Difference Equation given by y[n] +2y[n-1] +y[n-2] = x[n]; with the initial conditions y[-1]=2,y[-2]=4; when the input x[n] = (1/4)nu[n]. Verify the ouputs in MATLAB. (b) Write a MATLAB program to calculate the circular convolution of x[n]={1,5,3,2,7,6} and h[n] = {1, 2, 1, 3} in Time Domain.
11.(a)Write a MATLAB program to calculate the Linear Convolution of two sequences x[n] = {1,5,3,2,8,6,1} and h[n] = {1, 2, 1, 3,1} in the Frequency Domain. (b) Write a C Program for the TMS 320C6713 DSK to implement Real Time Noise Cancellation.
12.(a)Write a MATLAB program to design an FIR “BAND PASS” filter with the following specifications: Fsamp=8000Hz, Fc1=1500Hz, Fc2=2000Hz Twidth=100Hz. Use Rectangular Widow for Coefficient generation. (b)
Write a C Program to calculate the Impulse response of the system : H(z)= Y(z)/X(z) =1/(1 – 0.25z-1);
13.(a)Write a C Program in Code Composer Studio to verify the Circular Convolution of x[n] = {1,2,3,1} and h[n] = {1, 2, 2, 3,1} (b) Verify the Ouput of the above program using Frequency Domain Calculations in MATLAB.
14.(a) Write a MATLAB program to verify the Sampling Theorem. (b)
Write a MATLAB program to design an IIR Filter for the following specifications: Fpass=500Hz, Fstop=2000Hz,R p=3,R s=30,Fsamp=8000Hz.
15.(a)Write a MATLAB Program to calculate the impulse response of the following transfer function H(z) = (1+0.5z-1)/(1-0.25z-1) (b)
Write a C Program for the TMS 320C6713 DSK to implement Real Time Noise
Cancellation.