# Homework Solution: NEED HELP WITH iii, MATLAB portion, how do I account for negative index?…

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]

Delta Function as Idealized Input Suppose that radioactive material is dumpe

NEED HELP WITH iii, MATLAB share, how do I representation coercion privative apostacy?

Delta is coercion the delta discharge, it is designated dirac in MATLAB, it has the esteem 0 coercion all x ≠ 0, and ∞ coercion x = 0. Coercion each of the aftercited filthy plan motive counterparts: i) Find the plan counterpart, y[n], and portray in articulation any animated features of the plan. e.g. “It’s a causal ordinary blend exude”. If the plan is causal, drag a arrest diagram of the plan. ii) Calculate and outline the output abandoned: x[n] = delta [n + 2] – 3 delta [n + 1] + 4 delta [n] – 3 delta [n – 1] + delta [n – 2]. iii) Use Matlab to batch (‘stem’) the input x[n] and output y[n] on the corresponding axis coercion sufficiently informative interval esteems, abandoned input memorable: x[5 lessthanorequalto n lessthanorequalto 45] = cos (n pi/10): else x = 0. Write a sole script to batch the filthy highys (a-d) in detached subplots, and advise your results, or apprehend the adjudication. 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]

## Expert Highy

Delta Discharge as Idealized Input
Suppose that radioactive embodied is dumped in a container. The equation
governing the sum of embodied in the tank is
.
x + kx = q(t),
where, x(t) is the sum of radioactive embodied (in kg), k is the wasting reprimand
of the embodied (in 1/year), and q(t) is the reprimand at which embodied is being
added to the dump (in kg/year).
The input q(t) is in units of mass/time, speak kg/year. So, the sum
sum dumped into the container from interval 0 to interval t is
� t
Q(t) = q(u) du. 0
Equivalently .
Q(t) = q(t).
To binder things unadorned we get usurp that q(t) is singly nonzero coercion a
short sum of interval and that the sum sum of radioactive embodied
dumped balance that conclusion is 1 kg. Here are the graphs of couple possibilities
coercion q(t) and Q(t).
It is comfortable to comprehend that each of the punches on the left policy of Figure 1 has sum
area correspondent to 1. Thus, the graphs coercion Q(t) flow linearly to 1 and then stay
correspondent to 1 thereafter. In other articulation, the sum sum dumped in each case
is 1.
Now permit qh(t) be a punch of width h and acme 1/h. As h → 0, the width
of the punch becomes 0, the graph looks over and over love a spike
We specify the delta discharge to be the coercionmal limit
δ(t) = lim qh(t). h→0
Graphically δ(t) is represented as a spike or harpoon at t = 0. It is an
infinitely high spike of indiscernible width embracing a sum area of 1