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.

How to get all samples in adaptive lsl algorithm

Status
Not open for further replies.

mr_evo

Junior Member level 1
Joined
Nov 22, 2013
Messages
15
Helped
1
Reputation
2
Reaction score
1
Trophy points
3
Activity points
96
Hello!
I'm trying to implement adaptive lattice algorithm in matlab. It has prediction part which require to use previous samples.
For instance line 2 in figure (see attached) operates with instants of n-1, n-2. In order to implement this in matlab I use 'for loop'. But it can operates only with positive indexes. Thus, I need to use loop for n=3:N.
At the same time in these loop some of the variable should be initilized for each instant n>=1 (see point 2 in figure). But my loop starts from n=3. In this case first two samples of the original signal will be missed.
Do you have any idea how can I use all signal samples with this algorithm?
Thank you in advance!
lsl.png
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top