Question: via MATLAB Create a Function Representing a Total Impulse Response Create a function named 'mySystem', which has the following input and output arguments. Input x
via MATLAB
Create a Function Representing a Total Impulse Response Create a function named 'mySystem', which has the following input and output arguments. Input x - the input signal (vector) h1,h2,h3, and h4 - the impulse responses (vectors) Output y - the output response (vector) h - total impulse response (vector) The function computes for the total impulse response h and convolves it, using the conv function, with the input signal x to get the output response y. The first elements of the vectors are at n=0. The individual impulse responses h1,h2,h3, and h4 are arranged as shown below. The function must also plot the discrete-time h and y in a single figure, with y on top of h
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
