Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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 determinedStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started