Explanation of FIR and IIR Filters with Simple Words












1












$begingroup$


It seems I am unable to understand how these filters work and what is the point of using them, no matter how many tutorials I watched.



Could someone please explain, in simple words, what FIR and IIR filters do?










share|improve this question











$endgroup$



migrated from math.stackexchange.com Jan 23 at 21:10


This question came from our site for people studying math at any level and professionals in related fields.


















  • $begingroup$
    a "filter" is a linear time-invariant (LTI) device that operates on signals in such a way that it discriminates between frequencies. in some sense of the word, it "filters out" some set of components of some frequencies will retaining the other frequencies.
    $endgroup$
    – robert bristow-johnson
    Jan 24 at 2:02
















1












$begingroup$


It seems I am unable to understand how these filters work and what is the point of using them, no matter how many tutorials I watched.



Could someone please explain, in simple words, what FIR and IIR filters do?










share|improve this question











$endgroup$



migrated from math.stackexchange.com Jan 23 at 21:10


This question came from our site for people studying math at any level and professionals in related fields.


















  • $begingroup$
    a "filter" is a linear time-invariant (LTI) device that operates on signals in such a way that it discriminates between frequencies. in some sense of the word, it "filters out" some set of components of some frequencies will retaining the other frequencies.
    $endgroup$
    – robert bristow-johnson
    Jan 24 at 2:02














1












1








1





$begingroup$


It seems I am unable to understand how these filters work and what is the point of using them, no matter how many tutorials I watched.



Could someone please explain, in simple words, what FIR and IIR filters do?










share|improve this question











$endgroup$




It seems I am unable to understand how these filters work and what is the point of using them, no matter how many tutorials I watched.



Could someone please explain, in simple words, what FIR and IIR filters do?







filters fir infinite-impulse-response






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 24 at 4:38









robert bristow-johnson

11.4k31851




11.4k31851










asked Jan 18 at 13:50







Dimitris Prasakis











migrated from math.stackexchange.com Jan 23 at 21:10


This question came from our site for people studying math at any level and professionals in related fields.









migrated from math.stackexchange.com Jan 23 at 21:10


This question came from our site for people studying math at any level and professionals in related fields.














  • $begingroup$
    a "filter" is a linear time-invariant (LTI) device that operates on signals in such a way that it discriminates between frequencies. in some sense of the word, it "filters out" some set of components of some frequencies will retaining the other frequencies.
    $endgroup$
    – robert bristow-johnson
    Jan 24 at 2:02


















  • $begingroup$
    a "filter" is a linear time-invariant (LTI) device that operates on signals in such a way that it discriminates between frequencies. in some sense of the word, it "filters out" some set of components of some frequencies will retaining the other frequencies.
    $endgroup$
    – robert bristow-johnson
    Jan 24 at 2:02
















$begingroup$
a "filter" is a linear time-invariant (LTI) device that operates on signals in such a way that it discriminates between frequencies. in some sense of the word, it "filters out" some set of components of some frequencies will retaining the other frequencies.
$endgroup$
– robert bristow-johnson
Jan 24 at 2:02




$begingroup$
a "filter" is a linear time-invariant (LTI) device that operates on signals in such a way that it discriminates between frequencies. in some sense of the word, it "filters out" some set of components of some frequencies will retaining the other frequencies.
$endgroup$
– robert bristow-johnson
Jan 24 at 2:02










1 Answer
1






active

oldest

votes


















2












$begingroup$

Filters modify the frequency content of a signal.



The terms Finite Impulse Response (FIR) filter and Infinite Impulse Response (IIR) filter refer to Linear Time Invariant (LTI) filters.



LTI filters can change the amplitude and phase of specific frequencies in a signal, but they cannot shift any frequency content to other frequencies.



LTI filters are usually used to remove undesired frequencies from an input signal.



That's it.



As an example, your FM radio receives a signal that is the entire FM broadcast band, from 88 MHz to 108 MHz in the electromagnetic frequency spectrum, at its antenna. In a simplified view of an FM radio receiver, an LTI filter is used to filter out everything but the 200 kHz around 99.5 MHz, so that the radio can demodulate the audio from the station at 99.5 MHz without the frequencies from all the other stations interfering with that process. (In actuality FM radio receivers are more complicated, using a cascade of LTI filters with some non-linear "mixing" processes, but we're going for the concept here.)



To describe some of the math, at a high level:



When FIR and IIR filters are applied to signal in time domain, their application is equivalent to a mathematical operation called "Convolution".



The mathematical operation of convolution of a signal with an FIR or IIR filter, is equivalent to time-reversing the filter response, shifting it relative to the signal, performing pointwise multiplication, then summing up the values; then shifting the time-reversed filter response over slightly relative to the signal, preforming pointwise multiplication, then summing up the values; then ... keep repeating that for all of time (or until the input signal disappears to 0).






share|improve this answer









$endgroup$














    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "295"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdsp.stackexchange.com%2fquestions%2f55045%2fexplanation-of-fir-and-iir-filters-with-simple-words%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown
























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2












    $begingroup$

    Filters modify the frequency content of a signal.



    The terms Finite Impulse Response (FIR) filter and Infinite Impulse Response (IIR) filter refer to Linear Time Invariant (LTI) filters.



    LTI filters can change the amplitude and phase of specific frequencies in a signal, but they cannot shift any frequency content to other frequencies.



    LTI filters are usually used to remove undesired frequencies from an input signal.



    That's it.



    As an example, your FM radio receives a signal that is the entire FM broadcast band, from 88 MHz to 108 MHz in the electromagnetic frequency spectrum, at its antenna. In a simplified view of an FM radio receiver, an LTI filter is used to filter out everything but the 200 kHz around 99.5 MHz, so that the radio can demodulate the audio from the station at 99.5 MHz without the frequencies from all the other stations interfering with that process. (In actuality FM radio receivers are more complicated, using a cascade of LTI filters with some non-linear "mixing" processes, but we're going for the concept here.)



    To describe some of the math, at a high level:



    When FIR and IIR filters are applied to signal in time domain, their application is equivalent to a mathematical operation called "Convolution".



    The mathematical operation of convolution of a signal with an FIR or IIR filter, is equivalent to time-reversing the filter response, shifting it relative to the signal, performing pointwise multiplication, then summing up the values; then shifting the time-reversed filter response over slightly relative to the signal, preforming pointwise multiplication, then summing up the values; then ... keep repeating that for all of time (or until the input signal disappears to 0).






    share|improve this answer









    $endgroup$


















      2












      $begingroup$

      Filters modify the frequency content of a signal.



      The terms Finite Impulse Response (FIR) filter and Infinite Impulse Response (IIR) filter refer to Linear Time Invariant (LTI) filters.



      LTI filters can change the amplitude and phase of specific frequencies in a signal, but they cannot shift any frequency content to other frequencies.



      LTI filters are usually used to remove undesired frequencies from an input signal.



      That's it.



      As an example, your FM radio receives a signal that is the entire FM broadcast band, from 88 MHz to 108 MHz in the electromagnetic frequency spectrum, at its antenna. In a simplified view of an FM radio receiver, an LTI filter is used to filter out everything but the 200 kHz around 99.5 MHz, so that the radio can demodulate the audio from the station at 99.5 MHz without the frequencies from all the other stations interfering with that process. (In actuality FM radio receivers are more complicated, using a cascade of LTI filters with some non-linear "mixing" processes, but we're going for the concept here.)



      To describe some of the math, at a high level:



      When FIR and IIR filters are applied to signal in time domain, their application is equivalent to a mathematical operation called "Convolution".



      The mathematical operation of convolution of a signal with an FIR or IIR filter, is equivalent to time-reversing the filter response, shifting it relative to the signal, performing pointwise multiplication, then summing up the values; then shifting the time-reversed filter response over slightly relative to the signal, preforming pointwise multiplication, then summing up the values; then ... keep repeating that for all of time (or until the input signal disappears to 0).






      share|improve this answer









      $endgroup$
















        2












        2








        2





        $begingroup$

        Filters modify the frequency content of a signal.



        The terms Finite Impulse Response (FIR) filter and Infinite Impulse Response (IIR) filter refer to Linear Time Invariant (LTI) filters.



        LTI filters can change the amplitude and phase of specific frequencies in a signal, but they cannot shift any frequency content to other frequencies.



        LTI filters are usually used to remove undesired frequencies from an input signal.



        That's it.



        As an example, your FM radio receives a signal that is the entire FM broadcast band, from 88 MHz to 108 MHz in the electromagnetic frequency spectrum, at its antenna. In a simplified view of an FM radio receiver, an LTI filter is used to filter out everything but the 200 kHz around 99.5 MHz, so that the radio can demodulate the audio from the station at 99.5 MHz without the frequencies from all the other stations interfering with that process. (In actuality FM radio receivers are more complicated, using a cascade of LTI filters with some non-linear "mixing" processes, but we're going for the concept here.)



        To describe some of the math, at a high level:



        When FIR and IIR filters are applied to signal in time domain, their application is equivalent to a mathematical operation called "Convolution".



        The mathematical operation of convolution of a signal with an FIR or IIR filter, is equivalent to time-reversing the filter response, shifting it relative to the signal, performing pointwise multiplication, then summing up the values; then shifting the time-reversed filter response over slightly relative to the signal, preforming pointwise multiplication, then summing up the values; then ... keep repeating that for all of time (or until the input signal disappears to 0).






        share|improve this answer









        $endgroup$



        Filters modify the frequency content of a signal.



        The terms Finite Impulse Response (FIR) filter and Infinite Impulse Response (IIR) filter refer to Linear Time Invariant (LTI) filters.



        LTI filters can change the amplitude and phase of specific frequencies in a signal, but they cannot shift any frequency content to other frequencies.



        LTI filters are usually used to remove undesired frequencies from an input signal.



        That's it.



        As an example, your FM radio receives a signal that is the entire FM broadcast band, from 88 MHz to 108 MHz in the electromagnetic frequency spectrum, at its antenna. In a simplified view of an FM radio receiver, an LTI filter is used to filter out everything but the 200 kHz around 99.5 MHz, so that the radio can demodulate the audio from the station at 99.5 MHz without the frequencies from all the other stations interfering with that process. (In actuality FM radio receivers are more complicated, using a cascade of LTI filters with some non-linear "mixing" processes, but we're going for the concept here.)



        To describe some of the math, at a high level:



        When FIR and IIR filters are applied to signal in time domain, their application is equivalent to a mathematical operation called "Convolution".



        The mathematical operation of convolution of a signal with an FIR or IIR filter, is equivalent to time-reversing the filter response, shifting it relative to the signal, performing pointwise multiplication, then summing up the values; then shifting the time-reversed filter response over slightly relative to the signal, preforming pointwise multiplication, then summing up the values; then ... keep repeating that for all of time (or until the input signal disappears to 0).







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 20 at 14:00









        Andy WallsAndy Walls

        1,489127




        1,489127






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Signal Processing Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdsp.stackexchange.com%2fquestions%2f55045%2fexplanation-of-fir-and-iir-filters-with-simple-words%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            File:DeusFollowingSea.jpg