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.

filter function of MATLAB

Status
Not open for further replies.

sanbaba

Junior Member level 1
Joined
May 4, 2006
Messages
15
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,281
Activity points
1,415
filter()function in matlab

Hello every,
one i implemented filter function of MATLAB.
The filter which i designed is working for if take the entire file at a time.
If i pass the file chunk by chunk it is not working properly
both in C as well as MATLAB.
If any one knows the reason please tell me.
Thank you
sanbaba
 

filter function in matlab

Hi,

The problem is that u are passing the argument to the filter as a variable which is reading from an input file.
If u want to give the input in steps then try updating the variable.

for j= 1:M
for i=1: N
x1= x[M+i: M+N]
endfor
endfor

pass x1 within the loop this should work.

Does this answer your question.

Regards
Gowtham
 

Hi, You should consider initial and final condition while passing chunk by chunk otherwise phase delay will cause problem.
I tried it and it's working.
Enjoy!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top