Hi

i think there is some mistake in ur data.
let say the center freq is 12khz and sampling freq is 48KHz and BW is 4KHz then u need 8KHz/24KHz and 16KHz/24KHz, which is 0.33 and 0.66

Now BP=fir1(100,[0.33 0.66]);

Hope this helps
>
>I want to design a bandpass filter using Matlab. Roughly I know how to use remez but in my case I have the following data:
>
>Center Frequency = 44.1e3;
>Band Width = 1837.5e3;
>
>Which means that I know the center frequency and both the cutoff frequencies but I don't have the passband frequencies. So how can I design the filter in matlab since the command needs 4 frequencies as follow:
>
>remez([Fc1 Fp1 Fp2 Fc2],....), I have only Fc1, Fc2, and center frequency.
>
>I would appreciate it very much if anyone can give me some hints concerning this issue.
>
>Best regards.
>
>Ahmed Shahein.
Hello Everybody,

I want to design a bandpass filter using Matlab. Roughly I know how to use remez but in my case I have the following data:

Center Frequency = 44.1e3;
Band Width = 1837.5e3;

Which means that I know the center frequency and both the cutoff frequencies but I don't have the passband frequencies. So how can I design the filter in matlab since the command needs 4 frequencies as follow:

remez([Fc1 Fp1 Fp2 Fc2],....), I have only Fc1, Fc2, and center frequency.

I would appreciate it very much if anyone can give me some hints concerning this issue.

Best regards.

Ahmed Shahein.