Question: For the Matlab problem, please make sure that your function takes in the input and output parameters and can be called from the Matlab prompt

 For the Matlab problem, please make sure that your function takesin the input and output parameters and can be called from the

For the Matlab problem, please make sure that your function takes in the input and output parameters and can be called from the Matlab prompt as follows:

[ny,y] = myconv(x,h,nx,nh)

Inputs:

x: input signal

h: impulse response of the LTI system

nx: n-axis corresponding to x

nh: n-axis corresponding to h

Outputs:

ny: n-axis corresponding to y

y: output signal

Write a Matlab function called ("myconv") that takes in as input: an input signal (x[n]), and the impulse response of a system (h[n]), and calculates as an output, the output signal (y[n] = x[n] * h[n]). Do not use the "conv" command in Matlab. For this problem, your function should implement the procedure described in Fig. 2.2 in the course text. x[n] h[n] --OTOT Toon - Looony[n] LTI System (a) FIGURE 2.2 Illustration of the convolution sum. (a) LTI system with impulse response b[n) and input x[n], producing the output y[n] to be determined

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!