Consider the two signals x[n] and h[n] shown below: x[n] 2 4 5 6 -1 0 1 2 3 h[n] П 2 alu -2-1 0 1 2 3 4 n Using MATLAB,
-
- Posts: 43759
- Joined: Sat Aug 07, 2021 7:38 am
Consider the two signals x[n] and h[n] shown below: x[n] 2 4 5 6 -1 0 1 2 3 h[n] П 2 alu -2-1 0 1 2 3 4 n Using MATLAB,
Consider the two signals x[n] and h[n] shown below: x[n] 2 4 5 6 -1 0 1 2 3 h[n] П 2 alu -2-1 0 1 2 3 4 n Using MATLAB, you need to do the following: ● Time-domain analysis 1. Use the convolution operation (conv) to apply the filter, h, to the signal, x. The filtered signal should be stored as y1. 2. Plot x, h, and y1. Frequency-domain analysis 3. Compute the Fourier transforms of the signals x and h. 4. Multiply the Fourier transform of x with the Fourier transform of h, and store the result in a vector called y2_freq. 5. Plot the magnitude and phase of y2_freq. h[n] 6. Compute and plot the inverse Fourier transform of y2_freq and store it in a vector called y2. 7. Compare the plots of the signals y1 and y2? What is the relation between y1 and y2?