USING MATLAB TO DETERMINE FILTER COEFFICIENTS: Using FIR1 Function on Matlab
#1

Code:
B = FIR1(N,Wn) designs an N'th order lowpass FIR digital filter
    and returns the filter coefficients in length N+1 vector B.
    The cut-off frequency Wn must be between 0 < Wn < 1.0, with 1.0
    corresponding to half the sample rate.  The filter B is real and
    has linear phase, i.e., even symmetric coefficients obeying B(k) =
    B(N+2-k), k = 1,2,...,N+1.
     If Wn is a two-element vector, Wn = [W1 W2], FIR1 returns an
    order N bandpass filter with passband  W1 < W < W2.
    B = FIR1(N,Wn,'high') designs a highpass filter.
    B = FIR1(N,Wn,'stop') is a bandstop filter if Wn = [W1 W2].

    If Wn is a multi-element vector,
           Wn = [W1 W2 W3 W4 W5 ... WN],
    FIR1 returns an order N multiband filter with bands
     0 < W < W1, W1 < W < W2, ..., WN < W < 1.
    B = FIR1(N,Wn,'DC-1') makes the first band a passband.
    B = FIR1(N,Wn,'DC-0') makes the first band a stopband.

    For filters with a passband near Fs/2, e.g., highpass and bandstop filters, N must be even.
    
    By default FIR1 uses a Hamming window.  Other available windows, including Boxcar, Hanning, Bartlett, Blackman, Kaiser and Chebwin can be specified with an optional trailing argument.  For example,
    B = FIR1(N,Wn,kaiser(N+1,4)) uses a Kaiser window with beta=4.
    B = FIR1(N,Wn,'high',chebwin(N+1,R)) uses a Chebyshev window.

    By default, the filter is scaled so the center of the first pass band has magnitude exactly one after windowing. Use a trailing 'noscale' argument to prevent this scaling,
e.g. B = FIR1(N,Wn,'noscale'),
      B = FIR1(N,Wn,'high','noscale'), B = FIR1(N,Wn,wind,'noscale').
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: download madm in matlab, quin macclusky matlab, viva questions on t o determine the frequency of a c mains using electromagnet and sonometer, rtdx matlab ccs, matlab project download, bpcs matlab, mdsu efps ka matlab,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  Spectrogram_RTDX.m For spectrogram plot using RTDX with MATLAB seminar class 0 1,714 06-05-2011, 04:22 PM
Last Post: seminar class
  FFT.c C callable FFT function in C seminar class 0 1,245 06-05-2011, 04:12 PM
Last Post: seminar class
  Spectrogram with RTDX using MATLAB seminar class 0 1,749 06-05-2011, 04:11 PM
Last Post: seminar class
  C PROGRAM TO IMPLEMENT FIR FILTER seminar class 0 2,658 06-05-2011, 04:09 PM
Last Post: seminar class
  Mat Lab Program to Generate ‘FIR Filter-Low Pass’ Coefficients seminar class 0 1,538 06-05-2011, 03:59 PM
Last Post: seminar class
  FINITE IMPULSE RESPONSE FILTER (FIR) seminar class 0 1,267 06-05-2011, 03:57 PM
Last Post: seminar class
  IIR FILTER DESIGN seminar class 0 1,505 06-05-2011, 03:43 PM
Last Post: seminar class
  FIR FILTER DESIGN seminar class 0 1,443 06-05-2011, 03:43 PM
Last Post: seminar class

Forum Jump: