<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="id5595798">
  <name>IMPULSE RESPONSE</name>
  <metadata>
  <md:version>1.2</md:version>
  <md:created>2007/11/04 19:57:38 US/Central</md:created>
  <md:revised>2008/07/02 02:22:38.959 GMT-5</md:revised>
  <md:authorlist>
      <md:author id="PhuongNguyen">
      <md:firstname>Phuong</md:firstname>
      <md:othername>Huu</md:othername>
      <md:surname>Nguyen</md:surname>
      <md:email>nhphuong@hcmuns.edu.vn</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="PhuongNguyen">
      <md:firstname>Phuong</md:firstname>
      <md:othername>Huu</md:othername>
      <md:surname>Nguyen</md:surname>
      <md:email>nhphuong@hcmuns.edu.vn</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  

  <md:abstract/>
</metadata>
  <content>
    <para id="id4436468">We are now looking for a more consise way to characterize discrete-time systems. </para>
    <figure id="element-158"><media type="image/jpeg" src="hv2.jpg">
    <param name="height" value="400"/>
    <param name="width" value="500"/>
  </media>
<caption> Unit sample </caption></figure><para id="id4436478">Let’s recall the unit sample (also called unit impulse) signal (<cnxn target="element-158" strength="9"/>)</para>
    
    <para id="id4436490"><equation id="id0021">

<m:math><m:semantics><m:mrow><m:mrow><m:mtable><m:mtr><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>δ</m:mi><m:mo stretchy="false">(</m:mo><m:mi>n</m:mi><m:mrow><m:mo stretchy="false">)</m:mo><m:mo stretchy="false">=</m:mo><m:mn>1,</m:mn></m:mrow><m:mtable><m:mtr><m:mtd><m:mrow/></m:mtd><m:mtd><m:mrow/></m:mtd><m:mtd><m:mrow/></m:mtd></m:mtr></m:mtable><m:mrow><m:mi>n</m:mi><m:mo stretchy="false">=</m:mo><m:mn>0</m:mn></m:mrow></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow></m:mtr><m:mtr><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mrow><m:mtable><m:mtr><m:mtd><m:mrow/></m:mtd><m:mtd><m:mrow/></m:mtd></m:mtr></m:mtable><m:mo stretchy="false">=</m:mo><m:mn>0,</m:mn></m:mrow><m:mtable><m:mtr><m:mtd><m:mrow/></m:mtd><m:mtd><m:mrow/></m:mtd><m:mtd><m:mrow/></m:mtd></m:mtr></m:mtable><m:mrow><m:mi>n</m:mi><m:mo stretchy="false">≠</m:mo><m:mn>0</m:mn></m:mrow></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow></m:mtr></m:mtable><m:mrow/></m:mrow></m:mrow><m:annotation encoding="StarMath 5.0">alignl { stack {
 size 12{δ \( n \) =1, matrix {
 {} #  {} # {}
} n=0}  {} # 
 size 12{ matrix {
 {} # {}
} =0, matrix {
 {} #  {} # {}
} n &lt;&gt; 0}  {} 
} } {}</m:annotation></m:semantics></m:math>

</equation>
</para>
    
    <para id="id5595532">When the sample is shifted to time index (or sample) k in the future 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mo stretchy="false">(</m:mo><m:mrow><m:mi>k</m:mi><m:mo stretchy="false">&gt;</m:mo><m:mn>0</m:mn></m:mrow><m:mo stretchy="false">)</m:mo></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{ \( k&gt;0 \) } {}</m:annotation></m:semantics></m:math> the signal is 
</para>
    <para id="id5079824"><m:math display="block">
        <m:semantics>
          <m:mrow>
            <m:mrow>
              <m:mtable>
                <m:mtr>
                  <m:mrow>
                    <m:mstyle fontsize="12pt">
                      <m:mrow>
                        <m:mrow>
                          <m:mi>δ</m:mi>
                          <m:mo stretchy="false">(</m:mo>
                          <m:mrow>
                            <m:mi>n</m:mi>
                            <m:mo stretchy="false">−</m:mo>
                            <m:mi>k</m:mi>
                          </m:mrow>
                          <m:mrow>
                            <m:mo stretchy="false">)</m:mo>
                            <m:mo stretchy="false">=</m:mo>
                            <m:mn>1,</m:mn>
                          </m:mrow>
                          <m:mtable>
                            <m:mtr>
                              <m:mtd>
                                <m:mrow/>
                              </m:mtd>
                              <m:mtd>
                                <m:mrow/>
                              </m:mtd>
                            </m:mtr>
                          </m:mtable>
                          <m:mrow>
                            <m:mi>n</m:mi>
                            <m:mo stretchy="false">=</m:mo>
                            <m:mi>k</m:mi>
                          </m:mrow>
                        </m:mrow>
                      </m:mrow>
                    </m:mstyle>
                    <m:mrow/>
                  </m:mrow>
                </m:mtr>
                <m:mtr>
                  <m:mrow>
                    <m:mstyle fontsize="12pt">
                      <m:mrow>
                        <m:mrow>
                          <m:mtable>
                            <m:mtr>
                              <m:mtd>
                                <m:mrow/>
                              </m:mtd>
                              <m:mtd>
                                <m:mrow/>
                              </m:mtd>
                              <m:mtd>
                                <m:mrow/>
                              </m:mtd>
                              <m:mtd>
                                <m:mrow/>
                              </m:mtd>
                            </m:mtr>
                          </m:mtable>
                          <m:mn>0,</m:mn>
                          <m:mtable>
                            <m:mtr>
                              <m:mtd>
                                <m:mrow/>
                              </m:mtd>
                              <m:mtd>
                                <m:mrow/>
                              </m:mtd>
                            </m:mtr>
                          </m:mtable>
                          <m:mrow>
                            <m:mi>n</m:mi>
                            <m:mo stretchy="false">≠</m:mo>
                            <m:mi>k</m:mi>
                          </m:mrow>
                        </m:mrow>
                      </m:mrow>
                    </m:mstyle>
                    <m:mrow/>
                  </m:mrow>
                </m:mtr>
              </m:mtable>
              <m:mrow/>
            </m:mrow>
          </m:mrow>
          <m:annotation encoding="StarMath 5.0">alignl { stack {
 size 12{δ \( n - k \) =1, matrix {
 {} # {}
} n=k}  {} # 
 size 12{ matrix {
 {} #  {} #  {} # {}
} 0, matrix {
 {} # {}
} n &lt;&gt; k}  {} 
} } {}</m:annotation>
        </m:semantics>
      </m:math>
    </para>
    <para id="id5079969">When the sample is shifted to the past at index –k 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mo stretchy="false">(</m:mo><m:mrow><m:mi>k</m:mi><m:mo stretchy="false">&gt;</m:mo><m:mn>0</m:mn></m:mrow><m:mo stretchy="false">)</m:mo></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{ \( k&gt;0 \) } {}</m:annotation></m:semantics></m:math>, the signal is 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>δ</m:mi><m:mo stretchy="false">(</m:mo><m:mrow><m:mi>n</m:mi><m:mo stretchy="false">+</m:mo><m:mi>k</m:mi></m:mrow><m:mo stretchy="false">)</m:mo></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{δ \( n+k \) } {}</m:annotation></m:semantics></m:math></para>
    <para id="id5080114"><m:math display="block">
        <m:semantics>
          <m:mrow>
            <m:mrow>
              <m:mtable>
                <m:mtr>
                  <m:mrow>
                    <m:mstyle fontsize="12pt">
                      <m:mrow>
                        <m:mrow>
                          <m:mi>δ</m:mi>
                          <m:mo stretchy="false">(</m:mo>
                          <m:mrow>
                            <m:mi>n</m:mi>
                            <m:mo stretchy="false">+</m:mo>
                            <m:mi>k</m:mi>
                          </m:mrow>
                          <m:mrow>
                            <m:mo stretchy="false">)</m:mo>
                            <m:mo stretchy="false">=</m:mo>
                            <m:mn>1,</m:mn>
                          </m:mrow>
                          <m:mtable>
                            <m:mtr>
                              <m:mtd>
                                <m:mrow/>
                              </m:mtd>
                              <m:mtd>
                                <m:mrow/>
                              </m:mtd>
                            </m:mtr>
                          </m:mtable>
                          <m:mrow>
                            <m:mi>n</m:mi>
                            <m:mo stretchy="false">=</m:mo>
                            <m:mrow>
                              <m:mo stretchy="false">−</m:mo>
                              <m:mi>k</m:mi>
                            </m:mrow>
                          </m:mrow>
                        </m:mrow>
                      </m:mrow>
                    </m:mstyle>
                    <m:mrow/>
                  </m:mrow>
                </m:mtr>
                <m:mtr>
                  <m:mrow>
                    <m:mstyle fontsize="12pt">
                      <m:mrow>
                        <m:mrow>
                          <m:mtable>
                            <m:mtr>
                              <m:mtd>
                                <m:mrow/>
                              </m:mtd>
                              <m:mtd>
                                <m:mrow/>
                              </m:mtd>
                              <m:mtd>
                                <m:mrow/>
                              </m:mtd>
                              <m:mtd>
                                <m:mrow>
                                  <m:mn>0,</m:mn>
                                  <m:mtable>
                                    <m:mtr>
                                      <m:mtd>
                                        <m:mrow/>
                                      </m:mtd>
                                      <m:mtd>
                                        <m:mrow/>
                                      </m:mtd>
                                    </m:mtr>
                                  </m:mtable>
                                  <m:mrow/>
                                </m:mrow>
                              </m:mtd>
                            </m:mtr>
                          </m:mtable>
                          <m:mrow>
                            <m:mi>n</m:mi>
                            <m:mo stretchy="false">≠</m:mo>
                            <m:mrow>
                              <m:mo stretchy="false">−</m:mo>
                              <m:mi>k</m:mi>
                            </m:mrow>
                          </m:mrow>
                        </m:mrow>
                      </m:mrow>
                    </m:mstyle>
                    <m:mrow/>
                  </m:mrow>
                </m:mtr>
              </m:mtable>
              <m:mrow/>
            </m:mrow>
          </m:mrow>
          <m:annotation encoding="StarMath 5.0">alignl { stack {
 size 12{δ \( n+k \) =1, matrix {
 {} # {}
} n= - k}  {} # 
 size 12{ matrix {
 {} #  {} #  {} # 0, matrix {
 {} # {}
} {}
} n &lt;&gt;  - k}  {} 
} } {}</m:annotation>
        </m:semantics>
      </m:math>
    </para>
    <para id="id5080274">Now,let’s express a signal in terms of unit samples. In <cnxn target="element-447" strength="9"/>  the value of 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>x</m:mi><m:mo stretchy="false">(</m:mo><m:mi>n</m:mi><m:mo stretchy="false">)</m:mo></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{x \( n \) } {}</m:annotation></m:semantics></m:math> at 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>n</m:mi><m:mo stretchy="false">=</m:mo><m:mn>1</m:mn></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{n=1} {}</m:annotation></m:semantics></m:math> is 3, so we can write (<cnxn document="m10885" target="id0016"> Equation </cnxn>)</para>
    <para id="id5080401"><m:math display="block">
        <m:semantics>
          <m:mrow>
            <m:mstyle fontsize="12pt">
              <m:mrow>
                <m:mrow>
                  <m:mi>x</m:mi>
                  <m:mo stretchy="false">(</m:mo>
                  <m:mrow>
                    <m:mi>n</m:mi>
                    <m:mo stretchy="false">=</m:mo>
                    <m:mn>1</m:mn>
                  </m:mrow>
                  <m:mrow>
                    <m:mo stretchy="false">)</m:mo>
                    <m:mo stretchy="false">=</m:mo>
                    <m:mi>x</m:mi>
                  </m:mrow>
                  <m:mo stretchy="false">(</m:mo>
                  <m:mn>1</m:mn>
                  <m:mo stretchy="false">)</m:mo>
                  <m:mtable>
                    <m:mtr>
                      <m:mtd>
                        <m:mrow/>
                      </m:mtd>
                      <m:mtd>
                        <m:mrow/>
                      </m:mtd>
                    </m:mtr>
                  </m:mtable>
                  <m:mi>δ</m:mi>
                  <m:mo stretchy="false">(</m:mo>
                  <m:mrow>
                    <m:mi>n</m:mi>
                    <m:mo stretchy="false">−</m:mo>
                    <m:mn>1</m:mn>
                  </m:mrow>
                  <m:mrow>
                    <m:mo stretchy="false">)</m:mo>
                    <m:mo stretchy="false">=</m:mo>
                    <m:mn>3</m:mn>
                  </m:mrow>
                  <m:mtable>
                    <m:mtr>
                      <m:mtd>
                        <m:mrow/>
                      </m:mtd>
                      <m:mtd>
                        <m:mrow/>
                      </m:mtd>
                    </m:mtr>
                  </m:mtable>
                  <m:mi>x</m:mi>
                  <m:mo stretchy="false">(</m:mo>
                  <m:mn>1</m:mn>
                  <m:mrow>
                    <m:mo stretchy="false">)</m:mo>
                    <m:mo stretchy="false">=</m:mo>
                    <m:mn>3</m:mn>
                  </m:mrow>
                </m:mrow>
              </m:mrow>
            </m:mstyle>
            <m:mrow/>
          </m:mrow>
          <m:annotation encoding="StarMath 5.0"> size 12{x \( n=1 \) =x \( 1 \)  matrix {
 {} # {}
} δ \( n - 1 \) =3 matrix {
 {} # {}
} x \( 1 \) =3} {}</m:annotation>
        </m:semantics>
      </m:math>
    </para>
    
    <figure id="element-447"><media type="image/jpeg" src="hv3.jpg">
    <param name="height" value="250"/>
    <param name="width" value="350"/>
  </media>
<caption> An example signal </caption></figure><para id="id4782531">Similarly at 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>n</m:mi><m:mo stretchy="false">=</m:mo><m:mn>2</m:mn></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{n=2} {}</m:annotation></m:semantics></m:math></para>
    
    <para id="id4782594"><m:math display="block">
        <m:semantics>
          <m:mrow>
            <m:mstyle fontsize="12pt">
              <m:mrow>
                <m:mrow>
                  <m:mi>x</m:mi>
                  <m:mo stretchy="false">(</m:mo>
                  <m:mrow>
                    <m:mi>n</m:mi>
                    <m:mo stretchy="false">=</m:mo>
                    <m:mn>2</m:mn>
                  </m:mrow>
                  <m:mrow>
                    <m:mo stretchy="false">)</m:mo>
                    <m:mo stretchy="false">=</m:mo>
                    <m:mi>x</m:mi>
                  </m:mrow>
                  <m:mo stretchy="false">(</m:mo>
                  <m:mi>n</m:mi>
                  <m:mo stretchy="false">)</m:mo>
                  <m:mtable>
                    <m:mtr>
                      <m:mtd>
                        <m:mrow/>
                      </m:mtd>
                      <m:mtd>
                        <m:mrow/>
                      </m:mtd>
                    </m:mtr>
                  </m:mtable>
                  <m:mi>δ</m:mi>
                  <m:mo stretchy="false">(</m:mo>
                  <m:mrow>
                    <m:mi>n</m:mi>
                    <m:mo stretchy="false">−</m:mo>
                    <m:mn>2</m:mn>
                  </m:mrow>
                  <m:mrow>
                    <m:mo stretchy="false">)</m:mo>
                    <m:mo stretchy="false">=</m:mo>
                    <m:mn>2</m:mn>
                  </m:mrow>
                  <m:mtable>
                    <m:mtr>
                      <m:mtd>
                        <m:mrow/>
                      </m:mtd>
                      <m:mtd>
                        <m:mrow/>
                      </m:mtd>
                    </m:mtr>
                  </m:mtable>
                  <m:mi>x</m:mi>
                  <m:mo stretchy="false">(</m:mo>
                  <m:mn>1</m:mn>
                  <m:mrow>
                    <m:mo stretchy="false">)</m:mo>
                    <m:mo stretchy="false">=</m:mo>
                    <m:mn>2</m:mn>
                  </m:mrow>
                </m:mrow>
              </m:mrow>
            </m:mstyle>
            <m:mrow/>
          </m:mrow>
          <m:annotation encoding="StarMath 5.0"> size 12{x \( n=2 \) =x \( n \)  matrix {
 {} # {}
} δ \( n - 2 \) =2 matrix {
 {} # {}
} x \( 1 \) =2} {}</m:annotation>
        </m:semantics>
      </m:math>
    </para>
    <para id="id4782750">Thus a signal 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>x</m:mi><m:mo stretchy="false">(</m:mo><m:mi>n</m:mi><m:mo stretchy="false">)</m:mo></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{x \( n \) } {}</m:annotation></m:semantics></m:math> can be expressed as</para>
    <para id="id4782818"><equation id="id0022">

<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>x</m:mi><m:mo stretchy="false">(</m:mo><m:mi>n</m:mi><m:mrow><m:mo stretchy="false">)</m:mo><m:mo stretchy="false">=</m:mo><m:mrow><m:munderover><m:mo stretchy="false">∑</m:mo><m:mstyle fontsize="8pt"><m:mrow><m:mrow><m:mi>k</m:mi><m:mo stretchy="false">=</m:mo><m:mrow><m:mo stretchy="false">−</m:mo><m:mo stretchy="false">∞</m:mo></m:mrow></m:mrow></m:mrow></m:mstyle><m:mstyle fontsize="8pt"><m:mrow><m:mo stretchy="false">∞</m:mo></m:mrow></m:mstyle></m:munderover><m:mrow><m:mi>x</m:mi><m:mo stretchy="false">(</m:mo><m:mi>k</m:mi><m:mo stretchy="false">)</m:mo><m:mi>δ</m:mi><m:mo stretchy="false">(</m:mo><m:mrow><m:mi>n</m:mi><m:mo stretchy="false">−</m:mo><m:mi>k</m:mi></m:mrow><m:mo stretchy="false">)</m:mo></m:mrow></m:mrow></m:mrow></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{x \( n \) = Sum cSub { size 8{k= -  infinity } }  cSup { size 8{ infinity } }  {x \( k \) δ \( n - k \) } } {}</m:annotation></m:semantics></m:math>

</equation>
</para>
    <section id="id-0911210255514">
      <name>Impulse response</name>
      <para id="id4782982">Impulse response (or impulsive response) of a discrete-time (or digital) system is defined as the output (response), denoted by 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>h</m:mi><m:mo stretchy="false">(</m:mo><m:mi>n</m:mi><m:mo stretchy="false">)</m:mo></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{h \( n \) } {}</m:annotation></m:semantics></m:math>, when the input is an unit sample 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>δ</m:mi><m:mo stretchy="false">(</m:mo><m:mi>n</m:mi><m:mo stretchy="false">)</m:mo></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{δ \( n \) } {}</m:annotation></m:semantics></m:math>. The impulse response may be real or complex, but usually assumed real. <cnxn target="element-559" strength="9"/> is an example.</para><figure id="element-559"><media type="image/jpeg" src="vh4.jpg">
    <param name="height" value="300"/>
    <param name="width" value="650"/>
  </media>
<caption> Definition and example of impulse response </caption></figure>
    </section>
    <section id="id-557460966246">
      <name>FIR and IIR systems</name>
      <para id="id4783124">When excited by an unit sample 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>δ</m:mi><m:mo stretchy="false">(</m:mo><m:mi>n</m:mi><m:mo stretchy="false">)</m:mo></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{δ \( n \) } {}</m:annotation></m:semantics></m:math>, the impulse response 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>h</m:mi><m:mo stretchy="false">(</m:mo><m:mi>n</m:mi><m:mo stretchy="false">)</m:mo></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{h \( n \) } {}</m:annotation></m:semantics></m:math>of a system may last a finite duration, or forever even before the input is applied. In the former case the system is <term> Finite Duration Impulse Response (FIR)</term>, and in the latter case the system is <term> Infinite Duration Impulse Response (IIR)</term>. Many authors do not include the word duration in the names. It’s just a matter of choice.</para>
      <para id="id5566735">Alternatively, the systems can be classfied as <term> Recursive </term> or <term> Nonrecursive </term> instead of FIR or IIR. We’ll see the difference later.</para>
      <para id="id5566763"><term> Causality </term> (see <cnxn document="m10807" target="id-0855190279247"> section </cnxn>)of a system is reffected on its impulse resopnse: For causal systems 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>h</m:mi><m:mo stretchy="false">(</m:mo><m:mi>n</m:mi><m:mrow><m:mo stretchy="false">)</m:mo><m:mo stretchy="false">=</m:mo><m:mn>0</m:mn></m:mrow></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{h \( n \) =0} {}</m:annotation></m:semantics></m:math> at 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>n</m:mi><m:mo stretchy="false">&lt;</m:mo><m:mn>0</m:mn></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{n&lt;0} {}</m:annotation></m:semantics></m:math> (or 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>n</m:mi><m:mo stretchy="false">≤</m:mo><m:mrow><m:mo stretchy="false">−</m:mo><m:mn>1</m:mn></m:mrow></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{n &lt;=  - 1} {}</m:annotation></m:semantics></m:math>), otherwise they are noncausal. Both systems of <cnxn target="element-904" strength="9"> Figure </cnxn> are noncausal.</para><figure id="element-904"><media type="image/jpeg" src="hv5.jpg">
    <param name="height" value="300"/>
    <param name="width" value="500"/>
  </media>
<caption> Example of systems (a) FIR, (b) IIR </caption></figure>
    </section>
    <section id="id-975997588329">
      <name>Derive the impulse response from the difference equation</name>
      <para id="id5566976">From the definition of impulse response we can apply an unit sample to the system concerned and obtain the output experimentally, which is the impulse response. Otherwise we derive it from the difference equation as presented here. There are still other ways to obtain the impulse response.</para>
      <example id="element-9"><para id="element-535">Find the impulse response of system whose input-output signal difference equation is given by 


<m:math display="block">
          <m:semantics>
            <m:mrow>
              <m:mstyle fontsize="12pt">
                <m:mrow>
                  <m:mrow>
                    <m:mi>y</m:mi>
                    <m:mo stretchy="false">(</m:mo>
                    <m:mi>n</m:mi>
                    <m:mrow>
                      <m:mo stretchy="false">)</m:mo>
                      <m:mo stretchy="false">=</m:mo>
                      <m:mn>0</m:mn>
                    </m:mrow>
                    <m:mtext>.</m:mtext>
                    <m:mn>8y</m:mn>
                    <m:mo stretchy="false">(</m:mo>
                    <m:mrow>
                      <m:mi>n</m:mi>
                      <m:mo stretchy="false">−</m:mo>
                      <m:mn>1</m:mn>
                    </m:mrow>
                    <m:mrow>
                      <m:mo stretchy="false">)</m:mo>
                      <m:mo stretchy="false">+</m:mo>
                      <m:mi>x</m:mi>
                    </m:mrow>
                    <m:mo stretchy="false">(</m:mo>
                    <m:mi>n</m:mi>
                    <m:mo stretchy="false">)</m:mo>
                  </m:mrow>
                </m:mrow>
              </m:mstyle>
              <m:mrow/>
            </m:mrow>
            <m:annotation encoding="StarMath 5.0"> size 12{y \( n \) =0 "." 8y \( n - 1 \) +x \( n \) } {}</m:annotation>
          </m:semantics>
        </m:math>
      </para>
</example>
      
      
      <para id="id5567118"><term> Solution</term></para>
      <para id="id5567122">Replacing 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>x</m:mi><m:mo stretchy="false">(</m:mo><m:mi>n</m:mi><m:mo stretchy="false">)</m:mo></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{x \( n \) } {}</m:annotation></m:semantics></m:math> by 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>δ</m:mi><m:mo stretchy="false">(</m:mo><m:mi>n</m:mi><m:mo stretchy="false">)</m:mo></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{δ \( n \) } {}</m:annotation></m:semantics></m:math> then 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>y</m:mi><m:mo stretchy="false">(</m:mo><m:mi>n</m:mi><m:mo stretchy="false">)</m:mo></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{y \( n \) } {}</m:annotation></m:semantics></m:math> is just 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>h</m:mi><m:mo stretchy="false">(</m:mo><m:mi>n</m:mi><m:mo stretchy="false">)</m:mo></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{h \( n \) } {}</m:annotation></m:semantics></m:math>:</para>
      <para id="id5567377"><m:math display="block">
          <m:semantics>
            <m:mrow>
              <m:mstyle fontsize="12pt">
                <m:mrow>
                  <m:mrow>
                    <m:mi>h</m:mi>
                    <m:mo stretchy="false">(</m:mo>
                    <m:mi>n</m:mi>
                    <m:mrow>
                      <m:mo stretchy="false">)</m:mo>
                      <m:mo stretchy="false">=</m:mo>
                      <m:mn>0</m:mn>
                    </m:mrow>
                    <m:mtext>.</m:mtext>
                    <m:mn>8h</m:mn>
                    <m:mo stretchy="false">(</m:mo>
                    <m:mrow>
                      <m:mi>n</m:mi>
                      <m:mo stretchy="false">−</m:mo>
                      <m:mn>1</m:mn>
                    </m:mrow>
                    <m:mrow>
                      <m:mo stretchy="false">)</m:mo>
                      <m:mo stretchy="false">+</m:mo>
                      <m:mi>δ</m:mi>
                    </m:mrow>
                    <m:mo stretchy="false">(</m:mo>
                    <m:mi>n</m:mi>
                    <m:mo stretchy="false">)</m:mo>
                  </m:mrow>
                </m:mrow>
              </m:mstyle>
              <m:mrow/>
            </m:mrow>
            <m:annotation encoding="StarMath 5.0"> size 12{h \( n \) =0 "." 8h \( n - 1 \) +δ \( n \) } {}</m:annotation>
          </m:semantics>
        </m:math>
      </para>
      <para id="id5567493">Remember that 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>δ</m:mi><m:mo stretchy="false">(</m:mo><m:mi>n</m:mi><m:mrow><m:mo stretchy="false">)</m:mo><m:mo stretchy="false">=</m:mo><m:mn>1</m:mn></m:mrow></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{δ \( n \) =1} {}</m:annotation></m:semantics></m:math> at 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>n</m:mi><m:mo stretchy="false">=</m:mo><m:mn>0</m:mn></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{n=0} {}</m:annotation></m:semantics></m:math>, otherwise zero, and assume a causal system, i.e. 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>h</m:mi><m:mo stretchy="false">(</m:mo><m:mi>n</m:mi><m:mrow><m:mo stretchy="false">)</m:mo><m:mo stretchy="false">=</m:mo><m:mn>0</m:mn></m:mrow></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{h \( n \) =0} {}</m:annotation></m:semantics></m:math> for 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>n</m:mi><m:mo stretchy="false">&lt;</m:mo><m:mn>0</m:mn></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{n&lt;0} {}</m:annotation></m:semantics></m:math>, we have</para>
      <para id="id4775928"><m:math display="block">
          <m:semantics>
            <m:mrow>
              <m:mrow>
                <m:mtable>
                  <m:mtr>
                    <m:mrow>
                      <m:mstyle fontsize="12pt">
                        <m:mrow>
                          <m:mrow>
                            <m:mi>h</m:mi>
                            <m:mo stretchy="false">(</m:mo>
                            <m:mn>0</m:mn>
                            <m:mrow>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo stretchy="false">=</m:mo>
                              <m:mn>0</m:mn>
                            </m:mrow>
                            <m:mtext>.</m:mtext>
                            <m:mn>8h</m:mn>
                            <m:mrow>
                              <m:mo stretchy="false">(</m:mo>
                              <m:mo stretchy="false">−</m:mo>
                              <m:mn>1</m:mn>
                            </m:mrow>
                            <m:mrow>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo stretchy="false">+</m:mo>
                              <m:mi>δ</m:mi>
                            </m:mrow>
                            <m:mo stretchy="false">(</m:mo>
                            <m:mn>0</m:mn>
                            <m:mrow>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo stretchy="false">=</m:mo>
                              <m:mn>1</m:mn>
                            </m:mrow>
                          </m:mrow>
                        </m:mrow>
                      </m:mstyle>
                      <m:mrow/>
                    </m:mrow>
                  </m:mtr>
                  <m:mtr>
                    <m:mrow>
                      <m:mstyle fontsize="12pt">
                        <m:mrow>
                          <m:mrow>
                            <m:mi>h</m:mi>
                            <m:mo stretchy="false">(</m:mo>
                            <m:mn>1</m:mn>
                            <m:mrow>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo stretchy="false">=</m:mo>
                              <m:mn>0</m:mn>
                            </m:mrow>
                            <m:mtext>.</m:mtext>
                            <m:mn>8h</m:mn>
                            <m:mo stretchy="false">(</m:mo>
                            <m:mn>0</m:mn>
                            <m:mrow>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo stretchy="false">+</m:mo>
                              <m:mi>δ</m:mi>
                            </m:mrow>
                            <m:mo stretchy="false">(</m:mo>
                            <m:mn>1</m:mn>
                            <m:mrow>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo stretchy="false">=</m:mo>
                              <m:mn>0</m:mn>
                            </m:mrow>
                            <m:mtext>.</m:mtext>
                            <m:mn>8</m:mn>
                          </m:mrow>
                        </m:mrow>
                      </m:mstyle>
                      <m:mrow/>
                    </m:mrow>
                  </m:mtr>
                  <m:mtr>
                    <m:mrow>
                      <m:mstyle fontsize="12pt">
                        <m:mrow>
                          <m:mrow>
                            <m:mi>h</m:mi>
                            <m:mo stretchy="false">(</m:mo>
                            <m:mn>2</m:mn>
                            <m:mrow>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo stretchy="false">=</m:mo>
                              <m:mn>0</m:mn>
                            </m:mrow>
                            <m:mtext>.</m:mtext>
                            <m:mn>8h</m:mn>
                            <m:mo stretchy="false">(</m:mo>
                            <m:mn>1</m:mn>
                            <m:mrow>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo stretchy="false">+</m:mo>
                              <m:mi>δ</m:mi>
                            </m:mrow>
                            <m:mo stretchy="false">(</m:mo>
                            <m:mn>2</m:mn>
                            <m:mrow>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo stretchy="false">=</m:mo>
                              <m:mn>0</m:mn>
                            </m:mrow>
                            <m:mtext>.</m:mtext>
                            <m:msup>
                              <m:mn>8</m:mn>
                              <m:mstyle fontsize="8pt">
                                <m:mrow>
                                  <m:mn>2</m:mn>
                                </m:mrow>
                              </m:mstyle>
                            </m:msup>
                          </m:mrow>
                        </m:mrow>
                      </m:mstyle>
                      <m:mrow/>
                    </m:mrow>
                  </m:mtr>
                  <m:mtr>
                    <m:mrow>
                      <m:mi>h</m:mi>
                      <m:mo stretchy="false">(</m:mo>
                      <m:mn>3</m:mn>
                      <m:mrow>
                        <m:mo stretchy="false">)</m:mo>
                        <m:mo stretchy="false">=</m:mo>
                        <m:mn>0</m:mn>
                      </m:mrow>
                      <m:mtext>.</m:mtext>
                      <m:mn>8h</m:mn>
                      <m:mo stretchy="false">(</m:mo>
                      <m:mn>2</m:mn>
                      <m:mrow>
                        <m:mo stretchy="false">)</m:mo>
                        <m:mo stretchy="false">+</m:mo>
                        <m:mi>δ</m:mi>
                      </m:mrow>
                      <m:mo stretchy="false">(</m:mo>
                      <m:mn>3</m:mn>
                      <m:mrow>
                        <m:mo stretchy="false">)</m:mo>
                        <m:mo stretchy="false">=</m:mo>
                        <m:mn>0</m:mn>
                      </m:mrow>
                      <m:mtext>.</m:mtext>
                      <m:msup>
                        <m:mn>8</m:mn>
                        <m:mstyle fontsize="8pt">
                          <m:mrow>
                            <m:mn>3</m:mn>
                          </m:mrow>
                        </m:mstyle>
                      </m:msup>
                      <m:mrow/>
                    </m:mrow>
                  </m:mtr>
                  <m:mtr>
                    <m:mrow>
                      <m:mtext>.</m:mtext>
                      <m:mtext>.</m:mtext>
                      <m:mtext>.</m:mtext>
                      <m:mtext>.</m:mtext>
                      <m:mrow/>
                    </m:mrow>
                  </m:mtr>
                  <m:mtr>
                    <m:mrow>
                      <m:mi>h</m:mi>
                      <m:mo stretchy="false">(</m:mo>
                      <m:mi>n</m:mi>
                      <m:mrow>
                        <m:mo stretchy="false">)</m:mo>
                        <m:mo stretchy="false">=</m:mo>
                        <m:mn>0</m:mn>
                      </m:mrow>
                      <m:mtext>.</m:mtext>
                      <m:msup>
                        <m:mn>8</m:mn>
                        <m:mstyle fontsize="8pt">
                          <m:mrow>
                            <m:mi>n</m:mi>
                          </m:mrow>
                        </m:mstyle>
                      </m:msup>
                      <m:mi>u</m:mi>
                      <m:mo stretchy="false">(</m:mo>
                      <m:mi>n</m:mi>
                      <m:mo stretchy="false">)</m:mo>
                      <m:mrow/>
                    </m:mrow>
                  </m:mtr>
                </m:mtable>
                <m:mrow/>
              </m:mrow>
            </m:mrow>
            <m:annotation encoding="StarMath 5.0">alignl { stack {
 size 12{h \( 0 \) =0 "." 8h \(  - 1 \) +δ \( 0 \) =1}  {} # 
 size 12{h \( 1 \) =0 "." 8h \( 0 \) +δ \( 1 \) =0 "." 8}  {} # 
 size 12{h \( 2 \) =0 "." 8h \( 1 \) +δ \( 2 \) =0 "." 8 rSup { size 8{2} } }  {} # 
h \( 3 \) =0 "." 8h \( 2 \) +δ \( 3 \) =0 "." 8 rSup { size 8{3} }  {} # 
 "."  "."  "."  "."  {} # 
h \( n \) =0 "." 8 rSup { size 8{n} } u \( n \)  {} 
} } {}</m:annotation>
          </m:semantics>
        </m:math>
      </para>
      <para id="id4776358">The system is IIR and stable (since 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>h</m:mi><m:mo stretchy="false">(</m:mo><m:mi>n</m:mi><m:mo stretchy="false">)</m:mo></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{h \( n \) } {}</m:annotation></m:semantics></m:math> converges). Usually we don’t get the result in closed form as above. See also <cnxn document="m10784" target="element-426"> Example </cnxn></para>
    </section>
    <section id="id-131064761318">
      <name>Derive the difference equation from the impulse response</name>
      <para id="id4776448">Resersely when the impulse response of a system is known we can derive its difference equation. Following is an illustrative example.</para>
      <example id="element-353"><para id="element-738">The impulse response of a system is periodic with the period of 3 indexes

<m:math display="block">
          <m:semantics>
            <m:mtable>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow>
                  <m:mi>h</m:mi>
                  <m:mo stretchy="false">(</m:mo>
                  <m:mi>n</m:mi>
                  <m:mrow>
                    <m:mo stretchy="false">)</m:mo>
                    <m:mo stretchy="false">=</m:mo>
                    <m:mo stretchy="false">[</m:mo>
                  </m:mrow>
                  <m:mn>1,</m:mn>
                  <m:mtable>
                    <m:mtr>
                      <m:mtd>
                        <m:mrow>
                          <m:mrow/>
                          <m:mn>2,</m:mn>
                          <m:mtable>
                            <m:mtr>
                              <m:mtd>
                                <m:mrow>
                                  <m:mrow/>
                                  <m:mn>3</m:mn>
                                  <m:mi>;</m:mi>
                                  <m:mtable>
                                    <m:mtr>
                                      <m:mtd>
                                        <m:mrow>
                                          <m:mrow/>
                                          <m:mn>1,</m:mn>
                                          <m:mtable>
                                            <m:mtr>
                                              <m:mtd>
                                                <m:mrow>
                                                  <m:mrow/>
                                                  <m:mn>2,</m:mn>
                                                  <m:mtable>
                                                    <m:mtr>
                                                      <m:mtd>
                                                        <m:mrow>
                                                          <m:mrow/>
                                                          <m:mn>3</m:mn>
                                                          <m:mi>;</m:mi>
                                                          <m:mtable>
                                                            <m:mtr>
                                                            <m:mtd>
                                                            <m:mrow>
                                                            <m:mrow/>
                                                            <m:mn>1,</m:mn>
                                                            <m:mtable>
                                                            <m:mtr>
                                                            <m:mtd>
                                                            <m:mrow>
                                                            <m:mrow/>
                                                            <m:mn>2,</m:mn>
                                                            <m:mtable>
                                                            <m:mtr>
                                                            <m:mtd>
                                                            <m:mrow>
                                                            <m:mrow/>
                                                            <m:mn>3</m:mn>
                                                            <m:mi>;</m:mi>
                                                            <m:mtable>
                                                            <m:mtr>
                                                            <m:mtd>
                                                            <m:mrow>
                                                            <m:mrow/>
                                                            <m:mn>1,</m:mn>
                                                            <m:mtable>
                                                            <m:mtr>
                                                            <m:mtd>
                                                            <m:mrow>
                                                            <m:mrow/>
                                                            <m:mn>2</m:mn>
                                                            <m:mtext>.</m:mtext>
                                                            <m:mtext>.</m:mtext>
                                                            <m:mtext>.</m:mtext>
                                                            <m:mo stretchy="false">]</m:mo>
                                                            </m:mrow>
                                                            </m:mtd>
                                                            </m:mtr>
                                                            </m:mtable>
                                                            <m:mrow/>
                                                            </m:mrow>
                                                            </m:mtd>
                                                            </m:mtr>
                                                            </m:mtable>
                                                            </m:mrow>
                                                            </m:mtd>
                                                            </m:mtr>
                                                            </m:mtable>
                                                            </m:mrow>
                                                            </m:mtd>
                                                            </m:mtr>
                                                            </m:mtable>
                                                            </m:mrow>
                                                            </m:mtd>
                                                            </m:mtr>
                                                          </m:mtable>
                                                        </m:mrow>
                                                      </m:mtd>
                                                    </m:mtr>
                                                  </m:mtable>
                                                </m:mrow>
                                              </m:mtd>
                                            </m:mtr>
                                          </m:mtable>
                                        </m:mrow>
                                      </m:mtd>
                                    </m:mtr>
                                  </m:mtable>
                                </m:mrow>
                              </m:mtd>
                            </m:mtr>
                          </m:mtable>
                        </m:mrow>
                      </m:mtd>
                    </m:mtr>
                  </m:mtable>
                </m:mrow>
              </m:mtr>
              <m:mtr>
                <m:mstyle fontsize="12pt">
                  <m:mrow>
                    <m:mrow/>
                  </m:mrow>
                </m:mstyle>
              </m:mtr>
            </m:mtable>
            <m:annotation encoding="StarMath 5.0"> size 12{h \( n \) = \[ 1, matrix {

} 2, matrix {

} 3; matrix {

} 1, matrix {

} 2, matrix {

} 3; matrix {

} 1, matrix {

} 2, matrix {

} 3; matrix {

} 1, matrix {

} 2 "."  "."  "."  \] } {}</m:annotation>
          </m:semantics>
        </m:math>
      
Find its input-output signal difference equation.</para>
</example>
      
      
      
      <para id="id4800673"><term> Solution </term></para>
      <para id="id4800677">Delay the given impulse response 3 samples</para>
      <para id="id4800681"><m:math display="block">
          <m:semantics>
            <m:mtable>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow/>
              </m:mtr>
              <m:mtr>
                <m:mrow>
                  <m:mi>h</m:mi>
                  <m:mo stretchy="false">(</m:mo>
                  <m:mrow>
                    <m:mi>n</m:mi>
                    <m:mo stretchy="false">−</m:mo>
                    <m:mn>3</m:mn>
                  </m:mrow>
                  <m:mrow>
                    <m:mo stretchy="false">)</m:mo>
                    <m:mo stretchy="false">=</m:mo>
                    <m:mo stretchy="false">[</m:mo>
                  </m:mrow>
                  <m:mn>0,</m:mn>
                  <m:mtable>
                    <m:mtr>
                      <m:mtd>
                        <m:mrow>
                          <m:mrow/>
                          <m:mn>0,</m:mn>
                          <m:mtable>
                            <m:mtr>
                              <m:mtd>
                                <m:mrow>
                                  <m:mrow/>
                                  <m:mn>0</m:mn>
                                  <m:mi>;</m:mi>
                                  <m:mtable>
                                    <m:mtr>
                                      <m:mtd>
                                        <m:mrow>
                                          <m:mrow/>
                                          <m:mn>1,</m:mn>
                                          <m:mtable>
                                            <m:mtr>
                                              <m:mtd>
                                                <m:mrow>
                                                  <m:mrow/>
                                                  <m:mn>2,</m:mn>
                                                  <m:mtable>
                                                    <m:mtr>
                                                      <m:mtd>
                                                        <m:mrow>
                                                          <m:mrow/>
                                                          <m:mn>3</m:mn>
                                                          <m:mi>;</m:mi>
                                                          <m:mtable>
                                                            <m:mtr>
                                                            <m:mtd>
                                                            <m:mrow>
                                                            <m:mrow/>
                                                            <m:mn>1,</m:mn>
                                                            <m:mtable>
                                                            <m:mtr>
                                                            <m:mtd>
                                                            <m:mrow>
                                                            <m:mrow/>
                                                            <m:mn>2,</m:mn>
                                                            <m:mtable>
                                                            <m:mtr>
                                                            <m:mtd>
                                                            <m:mrow>
                                                            <m:mrow/>
                                                            <m:mn>3</m:mn>
                                                            <m:mi>;</m:mi>
                                                            <m:mtable>
                                                            <m:mtr>
                                                            <m:mtd>
                                                            <m:mrow>
                                                            <m:mrow/>
                                                            <m:mn>1,</m:mn>
                                                            <m:mtable>
                                                            <m:mtr>
                                                            <m:mtd>
                                                            <m:mrow>
                                                            <m:mrow/>
                                                            <m:mn>2,</m:mn>
                                                            <m:mtable>
                                                            <m:mtr>
                                                            <m:mtd>
                                                            <m:mrow>
                                                            <m:mrow/>
                                                            <m:mn>3</m:mn>
                                                            <m:mi>;</m:mi>
                                                            <m:mtable>
                                                            <m:mtr>
                                                            <m:mtd>
                                                            <m:mrow>
                                                            <m:mrow/>
                                                            <m:mn>1,</m:mn>
                                                            <m:mtable>
                                                            <m:mtr>
                                                            <m:mtd>
                                                            <m:mrow>
                                                            <m:mrow/>
                                                            <m:mn>2</m:mn>
                                                            <m:mtext>.</m:mtext>
                                                            <m:mtext>.</m:mtext>
                                                            <m:mtext>.</m:mtext>
                                                            <m:mo stretchy="false">]</m:mo>
                                                            </m:mrow>
                                                            </m:mtd>
                                                            </m:mtr>
                                                            </m:mtable>
                                                            <m:mrow/>
                                                            </m:mrow>
                                                            </m:mtd>
                                                            </m:mtr>
                                                            </m:mtable>
                                                            </m:mrow>
                                                            </m:mtd>
                                                            </m:mtr>
                                                            </m:mtable>
                                                            </m:mrow>
                                                            </m:mtd>
                                                            </m:mtr>
                                                            </m:mtable>
                                                            </m:mrow>
                                                            </m:mtd>
                                                            </m:mtr>
                                                            </m:mtable>
                                                            </m:mrow>
                                                            </m:mtd>
                                                            </m:mtr>
                                                            </m:mtable>
                                                            </m:mrow>
                                                            </m:mtd>
                                                            </m:mtr>
                                                            </m:mtable>
                                                            </m:mrow>
                                                            </m:mtd>
                                                            </m:mtr>
                                                          </m:mtable>
                                                        </m:mrow>
                                                      </m:mtd>
                                                    </m:mtr>
                                                  </m:mtable>
                                                </m:mrow>
                                              </m:mtd>
                                            </m:mtr>
                                          </m:mtable>
                                        </m:mrow>
                                      </m:mtd>
                                    </m:mtr>
                                  </m:mtable>
                                </m:mrow>
                              </m:mtd>
                            </m:mtr>
                          </m:mtable>
                        </m:mrow>
                      </m:mtd>
                    </m:mtr>
                  </m:mtable>
                </m:mrow>
              </m:mtr>
              <m:mtr>
                <m:mstyle fontsize="12pt">
                  <m:mrow>
                    <m:mrow/>
                  </m:mrow>
                </m:mstyle>
              </m:mtr>
            </m:mtable>
            <m:annotation encoding="StarMath 5.0"> size 12{h \( n - 3 \) = \[ 0, matrix {

} 0, matrix {

} 0; matrix {

} 1, matrix {

} 2, matrix {

} 3; matrix {

} 1, matrix {

} 2, matrix {

} 3; matrix {

} 1, matrix {

} 2, matrix {

} 3; matrix {

} 1, matrix {

} 2 "."  "."  "."  \] } {}</m:annotation>
          </m:semantics>
        </m:math>
      </para>
      <para id="id4800919">Take the difference</para>
      <para id="id4800923"><m:math display="block">
          <m:semantics>
            <m:mrow>
              <m:mrow>
                <m:mtable>
                  <m:mtr>
                    <m:mrow>
                      <m:mstyle fontsize="12pt">
                        <m:mrow>
                          <m:mrow>
                            <m:mi>h</m:mi>
                            <m:mo stretchy="false">(</m:mo>
                            <m:mi>n</m:mi>
                            <m:mrow>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo stretchy="false">−</m:mo>
                              <m:mi>h</m:mi>
                            </m:mrow>
                            <m:mo stretchy="false">(</m:mo>
                            <m:mrow>
                              <m:mi>n</m:mi>
                              <m:mo stretchy="false">−</m:mo>
                              <m:mn>3</m:mn>
                            </m:mrow>
                            <m:mrow>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo stretchy="false">=</m:mo>
                              <m:mo stretchy="false">[</m:mo>
                            </m:mrow>
                            <m:mn>1,2,3</m:mn>
                            <m:mi>;</m:mi>
                            <m:mn>0,0,0,0,0</m:mn>
                            <m:mtext>.</m:mtext>
                            <m:mtext>.</m:mtext>
                            <m:mtext>.</m:mtext>
                            <m:mo stretchy="false">]</m:mo>
                          </m:mrow>
                        </m:mrow>
                      </m:mstyle>
                      <m:mrow/>
                    </m:mrow>
                  </m:mtr>
                  <m:mtr>
                    <m:mrow>
                      <m:mstyle fontsize="12pt">
                        <m:mrow>
                          <m:mrow>
                            <m:mrow>
                              <m:mtable>
                                <m:mtr>
                                  <m:mtd>
                                    <m:mrow>
                                      <m:mtable>
                                        <m:mtr>
                                          <m:mtd>
                                            <m:mrow>
                                              <m:mtable>
                                                <m:mtr>
                                                  <m:mtd>
                                                    <m:mrow>
                                                      <m:mtable>
                                                        <m:mtr>
                                                          <m:mtd>
                                                            <m:mrow>
                                                            <m:mtable>
                                                            <m:mtr>
                                                            <m:mtd>
                                                            <m:mrow/>
                                                            </m:mtd>
                                                            <m:mtd>
                                                            <m:mrow/>
                                                            </m:mtd>
                                                            </m:mtr>
                                                            </m:mtable>
                                                            <m:mrow/>
                                                            </m:mrow>
                                                          </m:mtd>
                                                          <m:mtd>
                                                            <m:mrow/>
                                                          </m:mtd>
                                                        </m:mtr>
                                                      </m:mtable>
                                                      <m:mrow/>
                                                    </m:mrow>
                                                  </m:mtd>
                                                  <m:mtd>
                                                    <m:mrow/>
                                                  </m:mtd>
                                                  <m:mtd>
                                                    <m:mrow/>
                                                  </m:mtd>
                                                </m:mtr>
                                              </m:mtable>
                                              <m:mrow/>
                                            </m:mrow>
                                          </m:mtd>
                                          <m:mtd>
                                            <m:mrow/>
                                          </m:mtd>
                                          <m:mtd>
                                            <m:mrow/>
                                          </m:mtd>
                                        </m:mtr>
                                      </m:mtable>
                                      <m:mrow/>
                                    </m:mrow>
                                  </m:mtd>
                                  <m:mtd>
                                    <m:mrow/>
                                  </m:mtd>
                                  <m:mtd>
                                    <m:mrow/>
                                  </m:mtd>
                                </m:mtr>
                              </m:mtable>
                              <m:mo stretchy="false">=</m:mo>
                              <m:mi>δ</m:mi>
                            </m:mrow>
                            <m:mo stretchy="false">(</m:mo>
                            <m:mi>n</m:mi>
                            <m:mrow>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo stretchy="false">+</m:mo>
                              <m:mn>2δ</m:mn>
                            </m:mrow>
                            <m:mo stretchy="false">(</m:mo>
                            <m:mrow>
                              <m:mi>n</m:mi>
                              <m:mo stretchy="false">−</m:mo>
                              <m:mn>1</m:mn>
                            </m:mrow>
                            <m:mrow>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo stretchy="false">+</m:mo>
                              <m:mn>3δ</m:mn>
                            </m:mrow>
                            <m:mo stretchy="false">(</m:mo>
                            <m:mrow>
                              <m:mi>n</m:mi>
                              <m:mo stretchy="false">−</m:mo>
                              <m:mn>2</m:mn>
                            </m:mrow>
                            <m:mo stretchy="false">)</m:mo>
                          </m:mrow>
                        </m:mrow>
                      </m:mstyle>
                      <m:mrow/>
                    </m:mrow>
                  </m:mtr>
                </m:mtable>
                <m:mrow/>
              </m:mrow>
            </m:mrow>
            <m:annotation encoding="StarMath 5.0">alignl { stack {
 size 12{h \( n \)  - h \( n - 3 \) = \[ 1,2,3;0,0,0,0,0 "."  "."  "."  \] }  {} # 
 size 12{ matrix {
 matrix {
 matrix {
 matrix {
 matrix {
 {} # {}
}  {} # {}
}  {} #  {} # {}
}  {} #  {} # {}
}  {} #  {} # {}
} =δ \( n \) +2δ \( n - 1 \) +3δ \( n - 2 \) }  {} 
} } {}</m:annotation>
          </m:semantics>
        </m:math>
      </para>
      <para id="id4801188">Then  </para>
      <para id="id4801200"><m:math display="block">
          <m:semantics>
            <m:mrow>
              <m:mstyle fontsize="12pt">
                <m:mrow>
                  <m:mrow>
                    <m:mi>h</m:mi>
                    <m:mo stretchy="false">(</m:mo>
                    <m:mi>n</m:mi>
                    <m:mrow>
                      <m:mo stretchy="false">)</m:mo>
                      <m:mo stretchy="false">=</m:mo>
                      <m:mi>h</m:mi>
                    </m:mrow>
                    <m:mo stretchy="false">(</m:mo>
                    <m:mrow>
                      <m:mi>n</m:mi>
                      <m:mo stretchy="false">−</m:mo>
                      <m:mn>3</m:mn>
                    </m:mrow>
                    <m:mrow>
                      <m:mo stretchy="false">)</m:mo>
                      <m:mo stretchy="false">+</m:mo>
                      <m:mi>δ</m:mi>
                    </m:mrow>
                    <m:mo stretchy="false">(</m:mo>
                    <m:mi>n</m:mi>
                    <m:mrow>
                      <m:mo stretchy="false">)</m:mo>
                      <m:mo stretchy="false">+</m:mo>
                      <m:mn>2δ</m:mn>
                    </m:mrow>
                    <m:mo stretchy="false">(</m:mo>
                    <m:mrow>
                      <m:mi>n</m:mi>
                      <m:mo stretchy="false">−</m:mo>
                      <m:mn>1</m:mn>
                    </m:mrow>
                    <m:mrow>
                      <m:mo stretchy="false">)</m:mo>
                      <m:mo stretchy="false">+</m:mo>
                      <m:mn>3δ</m:mn>
                    </m:mrow>
                    <m:mo stretchy="false">(</m:mo>
                    <m:mrow>
                      <m:mi>n</m:mi>
                      <m:mo stretchy="false">−</m:mo>
                      <m:mn>2</m:mn>
                    </m:mrow>
                    <m:mo stretchy="false">)</m:mo>
                  </m:mrow>
                </m:mrow>
              </m:mstyle>
              <m:mrow/>
            </m:mrow>
            <m:annotation encoding="StarMath 5.0"> size 12{h \( n \) =h \( n - 3 \) +δ \( n \) +2δ \( n - 1 \) +3δ \( n - 2 \) } {}</m:annotation>
          </m:semantics>
        </m:math>
      </para>
      <para id="id4801367">By definition on of impulse response, the difference equation is</para>
      <para id="id4801372"><m:math display="block">
          <m:semantics>
            <m:mrow>
              <m:mstyle fontsize="12pt">
                <m:mrow>
                  <m:mrow>
                    <m:mi>y</m:mi>
                    <m:mo stretchy="false">(</m:mo>
                    <m:mi>n</m:mi>
                    <m:mrow>
                      <m:mo stretchy="false">)</m:mo>
                      <m:mo stretchy="false">=</m:mo>
                      <m:mi>y</m:mi>
                    </m:mrow>
                    <m:mo stretchy="false">(</m:mo>
                    <m:mrow>
                      <m:mi>n</m:mi>
                      <m:mo stretchy="false">−</m:mo>
                      <m:mn>3</m:mn>
                    </m:mrow>
                    <m:mrow>
                      <m:mo stretchy="false">)</m:mo>
                      <m:mo stretchy="false">+</m:mo>
                      <m:mi>x</m:mi>
                    </m:mrow>
                    <m:mo stretchy="false">(</m:mo>
                    <m:mi>n</m:mi>
                    <m:mrow>
                      <m:mo stretchy="false">)</m:mo>
                      <m:mo stretchy="false">+</m:mo>
                      <m:mn>2x</m:mn>
                    </m:mrow>
                    <m:mo stretchy="false">(</m:mo>
                    <m:mrow>
                      <m:mi>n</m:mi>
                      <m:mo stretchy="false">−</m:mo>
                      <m:mn>1</m:mn>
                    </m:mrow>
                    <m:mrow>
                      <m:mo stretchy="false">)</m:mo>
                      <m:mo stretchy="false">+</m:mo>
                      <m:mn>3x</m:mn>
                    </m:mrow>
                    <m:mo stretchy="false">(</m:mo>
                    <m:mrow>
                      <m:mi>n</m:mi>
                      <m:mo stretchy="false">−</m:mo>
                      <m:mn>2</m:mn>
                    </m:mrow>
                    <m:mo stretchy="false">)</m:mo>
                  </m:mrow>
                </m:mrow>
              </m:mstyle>
              <m:mrow/>
            </m:mrow>
            <m:annotation encoding="StarMath 5.0"> size 12{y \( n \) =y \( n - 3 \) +x \( n \) +2x \( n - 1 \) +3x \( n - 2 \) } {}</m:annotation>
          </m:semantics>
        </m:math>
      </para>
    </section>
  </content>
</document>
