clc; clear all; close all;
n1=-2:4;
n2=2:8;
n=length (n1)+length(n2)-1;
x=(0.4)^n1;
h=(0.6)^n2;
xz=[x zeros(1,n-length(x))]; %zero padding x
hz=[h zeros(1,n-length(h))]; % zero padding z
cz=ifft(fft(xz).*fft(hz)); % convolution with zero padding
c=conv(x,h); % convolution without zeros
figure (1)
subplot (2,1,1)
stem(n,cz);
title(' convolution with zero padding ');
subplot (2,1,2)
stem(n,c);
title (' convolution with out zero padding');
dis creo te The gnal +ime x (n) .4 unz) (n-4 put Syatem with LTI +o...
Name: 10. [8 points] Consider a discrete-time LTI system with input x[n] and out- put y[n]. When the input signal x[n] = (6)" is applied to the system, the output signal is y[n] = 0 for all n When the input signal xn] (3)" u[n] is applied to the system, the output signal is y[n] = A 8[n] + 2 (5)" u[n] for all n, where A is a constant number a) Find A. b) Find the impulse response of...
1. A LTI system has the frequency response function 0, all other o Compute the output y(t) resulting from the in put x(t) given by (a) x(t) -2-5cos(3t)+10sin(6t-jx/3)+4cos(12t-x/4) (b) x(t) = 1 + Σ- cos(2kt ) k-l (c) x(t) is the periodic pulse train signal shown below (repeats beyond the graph) 0.5 0.5 5 t (second) Hint: Refer to lecture 10 note. For (c), find the Fourier series coefficients of x(t) first.
1. A LTI system has the frequency response...