No BSD License  

Highlights from
Digital Signal Processing Using MATLAB

Digital Signal Processing Using MATLAB

by

 

21 Aug 2002 (Updated )

Companion Software

ex020700.m
% Example 2.7

%

% x(n)=[3,11,7,0,-1,4,2]; nx = [-3:3]

% h(n)=[2,3,0,-5,2,1]; nh = [-1:4]

% y(n)=conv(x,h)

x = [3, 11, 7, 0, -1, 4, 2]; nx = [-3: 3];

h = [2, 3, 0, -5, 2, 1]; nh = [-1: 4];

[y,ny] = conv_m(x,nx,h,nh)

Contact us