Answered step by step
Verified Expert Solution
Question
1 Approved Answer
NEED HELP WITH iii, MATLAB portion, how do I account for negative index? Delta is for the delta function, it is called dirac in MATLAB,
NEED HELP WITH iii, MATLAB portion, how do I account for negative index?
Delta is for the delta function, it is called dirac in MATLAB, it has the value 0 for all x 0, and for x = 0.
For each of the following four system impulse responses: i) Find the system response, y[n], and describe in words any interesting features of the system. e.g. "It's a causal running sum filter". If the system is causal, draw a block diagram of the system. ii) Calculate and sketch the output given: x[n] = delta [n + 2] - 3 delta [n + 1] + 4 delta [n] - 3 delta [n - 1] + delta [n - 2]. iii) Use Matlab to plot ('stem') the input x[n] and output y[n] on the same axis for sufficiently informative time values, given input signal: x[5 lessthanorequalto n lessthanorequalto 45] = cos (n pi/10): else x = 0. Write a single script to plot the four answers (a-d) in separate subplots, and publish your results, or include the code. a) h[n] = 5 delta [n - 5] b) h[n] = 2 delta [n + 1] - 2 delta [n] c) h[n] = delta [n] - 2 delta [n - 1] + delta [n - 2] d) h[n] = 1/5 sigma^2_k = -2 delta [n - k]Step 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