Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

DSP in MATLAB - impulse responses, calculation of output

Status
Not open for further replies.

amindzo

Newbie level 6
Joined
Dec 11, 2008
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,356
DSP in MATLAB

Hi, i'm new in DSP and i have solve some problems, here is the problem:

Given a causal FIR filter described by the following equation:
y[n]= x[n]-2x[n-1]+3x[n-2]
a) Find the filter impulse response Answer:h[n]=?
b) Using MATLAB find the output when the input to the filter is x[n]=[1 -3 4 0 5 6 1 -2 3]
Answer: y[n]=?
 

Homework?
 

To answer the first question you must obviously compute the impulse response, to do that, you replace:
\[x[n] = \delta [n]\] where \[ \delta [n]\] is the unit impulse(kroneker delta)
and you get:
\[y[n] = h[n] = \delta [n]-2\delta [n-1]+3\delta[n-2]\]
that's it!
For the second point, use Matlab
 
Last edited by a moderator:

Re: DSP in MATLAB

amindzo said:
Hi, i'm new in DSP and i have solve some problems, here is the problem:

Given a causal FIR filter described by the following equation:
y[n]= x[n]-2x[n-1]+3x[n-2]
a) Find the filter impulse response Answer:h[n]=?
b) Using MATLAB find the output when the input to the filter is x[n]=[1 -3 4 0 5 6 1 -2 3]
Answer: y[n]=?


No homework solutions here. Try your self and ask when you are stuck
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top