Program_2_6 - M = length(c)-1; n = 0:1:M; disp('output...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% Program 2_6 % Illustration of Convolution % a = input('Type in the first sequence = '); b = input('Type in the second sequence = '); c = conv(a, b);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: M = length(c)-1; n = 0:1:M; disp('output sequence =');disp(c) stem(n,c) xlabel('Time index n'); ylabel('Amplitude');...
View Full Document

Ask a homework question - tutors are online