Question: please solve this using matlab and please dont copy from other matlab answers MATLAB provides a built-in function conv() that performs discrete-time convolution of two

 please solve this using matlab and please dont copy from other

please solve this using matlab and please dont copy from other matlab answers

MATLAB provides a built-in function conv() that performs discrete-time convolution of two discrete-time sequences. For the first problem, you will create a your own MATLAB function num_conv() that uses the built-in conv() function for numerically evaluating continuous-time convolution integrals. The function num_conv() will take two waveforms, each defined as a vector of time points and a vector of signal values, and will return the numerical approximation of the continuous-time convolution. The function should follow the following syntax: function (y, ty] = num_conv(x, tx,h, th) % syntax: [y, ty] = num_conv (x, tx, h, th) olo olo olo olo olo olo olo olo olo olo olo % Inputs: X tx h th input signal vector vector of time points in x impulse response vector vector of time points in h You should ensure that the sampling time for x and h are the same i.e. vectors tx and th should use the same increment/sampling g time g & Outputs: % y -- output signal vector, ty -- vector of time points in y length(y) = length(x) + length(h) - 1 olo olo olo olo The function num_conv() should plot the input x, the impulse response h and the final output y against their corresponding time vectors tx, th and ty, respectively. Make sure that tx and th use the same sampling time and that the time vector ty is calculated correctly

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!