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.

need matlab help for multiband optimal filter

Status
Not open for further replies.

vjfaisal

Full Member level 4
Full Member level 4
Joined
Sep 24, 2006
Messages
205
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
pakistan
Visit site
Activity points
2,701
hi
Anyone knows how to make a mutiband pass optimal filter.As i want to pass different range of frequencies from my data, which is of 50 hz, and i want to pass

1st band = 8 -12 Hz

2nd band= 22- 28 Hz

3rd band= 35-42 Hz

help me , with matlab commands , if anyone know this......

Best regards
 

This is code - it is very simple
what optimality you want? what is criteria? minimum of crosstalk? your Q is not clear. So my answer may be not satisfactory to you :-(

%% original signal
N=1000;
a=randn(1,N);

%% filters
K=31;
Fn=50;
h1=fir1(K,[18 22]/Fn);
h2=fir1(K,[25 32]/Fn);
h3=fir1(K,[35 42]/Fn);

%% show responses
fvtool(h1,1,h2,1,h3,1)

%% filter
s1=filter(h1,1,a);
s2=filter(h2,1,a);
s3=filter(h3,1,a);

%% show results
fvtool(a) % orig spectrum
fvtool(s1,1,s2,1,s3,1) % filtered spectrums
 

hi

i donot want this.................. please if u know the remez, command in matlab ,and also remezord....

The remezord is used to calculate the flter order n, of optimal Filter.
Same as i want to to Design Mutiband bandpass optimal Filter.
The frequencies are as i hae given.. i want to pass these multiband pass filter , which could pass these different frequencies.

i have design this filter , which could only calculate, the no. of coffients h.
but i also want to find the order of filter it is....

please help help me in this context, hope u will know under stand it...

best regards
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top