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.

Implementing a constant_coeffecient linear difference equation in Matlab

Status
Not open for further replies.

was29e

Junior Member level 2
Junior Member level 2
Joined
Mar 10, 2005
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
amman-jordan
Activity points
1,549
hi, please if anyone can help, i will realy be gratefull, its important to get this code or atleast any part of it, or where to start with it , and without using the DSP tool box.......



write a program to implement the constant_coeffecient linear diffrence equation:

y(n)=Σbi x(n-i) +Σai y(n-i), where for x : (0<=i<=N-1), and for y: (1<=i<=M-1)

for general values of N and M. Assume zero initial conditons, i.e:y(n)=0, for n<0.
1. use the program to determine, and plot the impulse response of the following system:
a-y(n)=x(n)+.9y(n-1)-(.9)^10x(n-10)
is theis system recursive or non recursive, and is it IIR, or FIR?

b.y(n)=.9y(n-1)+x(n)

2. use the prog. to compute and plot y(n) for the examples below:(run the prog. for 30 samples)

a. x(n)=.8^n u(n), and h(n)=1, 0<=n<=4.

b. x(n)=.5^n u(n), and h(n)= (.9^n)u(n),

c. x(n)=cos(2Πn/8 ), and h(n)=1, 0<=n<=7..
 

Re: matlab needed help

use "symsum" for calculating series.
use impulse to find impulse response!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top