For the following DT LTI system with impulse response hn and
For the following DT LTI system with impulse response h[n] and frequency response H(ej), how to compute H(ej) from h[n]?
Solution
close all;
clear all;
clc;
t=0:0.01:5;
x=exp(t);
y=exp(t.^2);
z=conv(x,y);
subplot(3,1,1);
plot(t,x);
xlabel(\'time\');
ylabel(\'amplitude\');
title(\'time signal-1\');
subplot(3,1,2);
plot(t,y);
xlabel(\'time\');
ylabel(\'amplitude\');
title(\'time signal-2\');
subplot(\'3,1,3\');
plot(z);
xlabel(\'time\');
ylabel(\'amplitude\');
close all;
clear all;
clc;
x=[1 2 3];
y=[6 7 8];
z=conv(x,y);
subplot(3,1,1);
stem(x);
xlabel(\'time\');
ylabel(\'amplitude\');
title(\'time signal-1\');
subplot(3,1,2);
stem(y);
xlabel(\'time\');
ylabel(\'amplitude\');
title(\'time signal-2\');
subplot(3,1,3);
stem(z);
xlabel(\'time\');
ylabel(\'amplitude\');
![For the following DT LTI system with impulse response h[n] and frequency response H(ej), how to compute H(ej) from h[n]?Solutionclose all; clear all; clc; t=0:0 For the following DT LTI system with impulse response h[n] and frequency response H(ej), how to compute H(ej) from h[n]?Solutionclose all; clear all; clc; t=0:0](/WebImages/24/for-the-following-dt-lti-system-with-impulse-response-hn-and-1059419-1761553204-0.webp)
![For the following DT LTI system with impulse response h[n] and frequency response H(ej), how to compute H(ej) from h[n]?Solutionclose all; clear all; clc; t=0:0 For the following DT LTI system with impulse response h[n] and frequency response H(ej), how to compute H(ej) from h[n]?Solutionclose all; clear all; clc; t=0:0](/WebImages/24/for-the-following-dt-lti-system-with-impulse-response-hn-and-1059419-1761553204-1.webp)