Please Solve in Matlab and explain code Using the builtin fu
Please Solve in Matlab and explain code
Using the built-in function fft() and ifft() to compute the following convolution:
y[n] = x1[n]*x2[n]
where x1[n] = u[n] – u[n-6] and x2[n] = u[n] – u[n-8].
Solution
x1= [1 1 1 1 1 1 1 0 0]; x2= [1 1 1 1 1 1 1 1 1]; con= ifft(fft(x1).*fft(x2))![Please Solve in Matlab and explain code Using the built-in function fft() and ifft() to compute the following convolution: y[n] = x1[n]*x2[n] where x1[n] = u[n] Please Solve in Matlab and explain code Using the built-in function fft() and ifft() to compute the following convolution: y[n] = x1[n]*x2[n] where x1[n] = u[n]](/WebImages/20/please-solve-in-matlab-and-explain-code-using-the-builtin-fu-1045279-1761543605-0.webp)