1. Trang chủ
  2. » Luận Văn - Báo Cáo

DSP lab3 report Bach Khoa

8 159 2

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Cấu trúc

  • Table of Contents

  • Abstract

  • Introduction

  • Matlab codes

  • Source codes

  • Conclusion

  • References

  • [1] Texas Instruments, C5515 eZDSP USB Stick Development Tool description and features, http://www.ti.com/tool/tmdx5515ezdsp, retrieved on February, 27th 2014.

  • [2] sensorasia, TMS320C5515_eZdip_USB stick.MP4, http://www.youtube.com/watch?v=ZFnvH1iZoY8, retrieved on February, 27th 2014.

  • [3] Sophocles J. Orfanidis, Introduction to Signal Processing, Pearson Education, .Inc, New Jersey, 2009.

Nội dung

Experiments on ConvolutionUsing TMS320C5515 eZDSPTM USB StickAssoc. Prof. Dr. Thuong Le TienThis report outlines steps to perform a Convolution of two vectors using TMS320C5515 eZDSPTM USB Stick Development Tool. The report includes a Matlabbased demonstration and hardwarebased programming to calculate yn from given xn and hn.

Vietnam National University Ho Chi Minh City University of Technology Digital Signal Processing LAB REPORT Experiments on Convolution Using TMS320C5515 eZDSPTM USB Stick Instructor: Assoc Prof Dr Thuong Le -Tien Teaching Asisstants: Chi Hieu, Quoc Huy Group 7: Dat Nguyen-Si ID: ILI11006 In-class ID: Trung Le ID: 41103857 In-class ID: March, 13th 2014 March, 13th 2014 Adventure Works Marketing Plan Lab report Table of Contents [Type text] Page March, 13th 2014 Adventure Works Marketing Plan Lab report Abstract This report outlines steps to perform a Convolution of two vectors using TMS320C5515 eZDSPTM USB Stick Development Tool The report includes a Matlab-based demonstration and hardware-based programming to calculate y[n] from given x[n] and h[n] [Type text] Page March, 13th 2014 Adventure Works Marketing Plan Lab report Introduction Convolution is a mathematical way of combining two signals to form a third signal It is the single most important technique in Digital Signal Processing Using the strategy of impulse decomposition, systems are described by a signal called the impulse response Convolution is important because it relates the three signals of interest: the input signal, the output signal, and the impulse response Consider a causal FIR filter of order M with impulse response h[n], n = 0, 1, , M; an input signal x[n] and an output signal y[n], the direct and LTI forms of convolution are given by: While n is the range of values of the output index, and m is the precise range of summation A graphic demonstration of Convolution calculation In this Lab session, we use the second formula to calculate y[n] [Type text] Page March, 13th 2014 Adventure Works Marketing Plan Lab report Matlab codes % Input x[n] x = input('Input the length of first matrix:'); for i=1:x string = fprintf('x[%d]',i-1); x(i) = input(':'); end % Input h[n] h = input('Input the length of second matrix:'); for i=1:h string = fprintf('h[%d]',i-1); h(i) = input(':'); end % Show the results disp('Convolution of the two matrices is:'); y = conv(x,h) With following ( given) inputs: - x[n]={-2,1,3,4,0,3,2,-4,5,-2} h[n]={-3,-2,1,4,-1} The result shown on the display is: y=6 -13 -25 7 -3 -9 22 -13 These results are the same as the ones done by hand [Type text] Page March, 13th 2014 Adventure Works Marketing Plan Lab report Source codes Only the modification of main.c ( as being shown below) is needed #include "stdio.h" #include "usbstk5515.h" void main( ) { int x[50],h[50],y[50]; int i,j,m,n; // Input lengths of x[n] and h[n] printf("\n Enter length of x(n): "); scanf("%d", &m); printf("\n Enter length of y(n): "); scanf("%d", &n); // Input elements of x[n] and h[n] printf ("\n Input elements of x(n):\n"); for (i=0;i

Ngày đăng: 15/10/2020, 16:18

TỪ KHÓA LIÊN QUAN

w