Question: using matlab For exercise 1, I can only use one for loop the other exercises are related to ex. 1, so all of them should

using matlab For exercise 1, I can only use one for loop the other exercises are related to ex. 1, so all of them should have the same algorithm with little difference
Exercise 1 Write a function that convolves two sequences of arbitrary lengths without using the built-in convolution function: conv(a,b. Using time markers tic and toc compare the performance of your code with the built-in conv function. Exercise 2 Cross correlation of two discrete-time signals is defined by Write a function crosscorrelation(x, h to find the cross-correlation of two signals of arbitrary length and arbitrary starting points. Using time markers tic and toc, compare the performance of your code with the built-in xcorr function. Exercise 3 The auto-correlation of a discrete-time signal is defined by: Generate a random Gaussian noise signal x[n] using the function randn. Use the function erosscorrelation(, h of Exercise 2 to find the auto-correlation of the noise signal. Determine the effect of the length of the noise signal on the auto- correlation of the signal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
