Determine the output of the LTI system for the input x[n and impulse response of the
system h[n]
x[n] = {2,7,1,5)
h[n] = {6,2,5,9,1)
(a) {12, 46, 30,85,78,42,47,5
(b) {12,46,30,85,80, 40,47,5}
(c) {12,46,30,85, 78,47,42,5}
(d) {12,46, 30,85,80, 41, 46,5}
close all,
clear all,
clc,
h = [6,2,5,9,1];
x = [2,7,1,5];
Output = conv(x,h);
fprintf('\n\tInput x[n] = %s',num2str(x));
fprintf('\n\t h[n] = %s',num2str(h));
fprintf('\n\tLTI Output = %s',num2str(Output));
Input x[n] = 2 7 1 5
h[n] = 6 2 5 9 1
LTI Output = 12 46 30 85 80 41 46 5
Final Answer: Correct Option is [d]
Comments
Leave a comment