﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.7739.40423"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>9d8eab9a-13c3-4d26-b9a2-5761b55aba05</id>
      <revision>11</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="39" right="39" top="49" bottom="49" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="0.99.7739.40423" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.99.7739.40423" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="SpecialFunctions" version="1.12.7739.40423" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="PlotRegion" version="1.11.7739.40423" guid="c451c2b5-798b-4f08-b9ec-b90963d1ddaa" />
    </dependencies>
  </settings>
  <regions type="content">
    <region top="18" color="#000000">
      <area collapsed="true">
        <title lang="eng">
          <content>
            <p style="font-family: Arial; font-size: 8px;">MFind</p>
          </content>
        </title>
      </area>
      <region left="54" top="36" width="277" height="34" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">X</e>
            <e type="function" args="1">MRange</e>
            <e type="operand">X</e>
            <e type="function" args="1">min</e>
            <e type="operand">X</e>
            <e type="function" args="1">max</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="function" args="1">eval</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="81" width="552" height="129" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">Mx</e>
            <e type="function" args="1">MFind</e>
            <e type="operand">M</e>
            <e type="operand">Mx</e>
            <e type="operator" args="2">:</e>
            <e type="operand">n</e>
            <e type="operand">1</e>
            <e type="operand">M</e>
            <e type="function" args="1">length</e>
            <e type="function" args="2">range</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">M</e>
            <e type="operand">0</e>
            <e type="operator" args="2">≡</e>
            <e type="bracket">(</e>
            <e type="function" args="1">vectorize</e>
            <e type="operand">n</e>
            <e type="function" args="2">el</e>
            <e type="operand">n</e>
            <e type="function" args="2">augment</e>
            <e type="function" args="1">eval</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">findrows</e>
            <e type="operand">2</e>
            <e type="function" args="2">col</e>
            <e type="function" args="1">eval</e>
            <e type="operand">0</e>
            <e type="function" args="2">try</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="216" width="151" height="34" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">M</e>
            <e type="operand">x</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="1">abs</e>
            <e type="operand">tol</e>
            <e type="operator" args="2">&lt;</e>
            <e type="function" args="1">vectorize</e>
            <e type="function" args="1">iFind</e>
          </input>
        </math>
      </region>
      <region left="207" top="216" width="102" height="26" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">M</e>
            <e type="operand">x</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="1">iFind</e>
          </input>
        </math>
      </region>
      <region left="315" top="216" width="168" height="34" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">M</e>
            <e type="operand">max</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="1">abs</e>
            <e type="operand">tol</e>
            <e type="operator" args="2">&lt;</e>
            <e type="function" args="1">vectorize</e>
            <e type="function" args="1">iFind</e>
          </input>
        </math>
      </region>
      <region left="54" top="279" width="351" height="63" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">X#</e>
            <e type="function" args="1">MDiff</e>
            <e type="operand">X</e>
            <e type="operand">X#</e>
            <e type="operator" args="2">:</e>
            <e type="operand">n</e>
            <e type="operand">1</e>
            <e type="operand">X</e>
            <e type="function" args="1">length</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="function" args="2">range</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">X</e>
            <e type="operand">n</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">n</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="378" width="666" height="248" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">v</e>
            <e type="operand">ts</e>
            <e type="function" args="2">MPeaks</e>
            <e type="operand">n</e>
            <e type="operand">v</e>
            <e type="function" args="1">length</e>
            <e type="operator" args="2">:</e>
            <e type="operand">x</e>
            <e type="operand">v</e>
            <e type="operand">1</e>
            <e type="operand">n</e>
            <e type="function" args="2">range</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">:</e>
            <e type="operand">r</e>
            <e type="operand">1</e>
            <e type="operand">n</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="function" args="2">range</e>
            <e type="operator" args="2">:</e>
            <e type="operand">dx</e>
            <e type="operand">x</e>
            <e type="function" args="1">MDiff</e>
            <e type="operator" args="2">:</e>
            <e type="operand">ddx</e>
            <e type="operand">x</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">x</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="operand">dx</e>
            <e type="function" args="2">stack</e>
            <e type="function" args="1">eval</e>
            <e type="operator" args="2">:</e>
            <e type="operand">dx</e>
            <e type="operand">dx</e>
            <e type="operand">dx</e>
            <e type="operand">n</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">stack</e>
            <e type="operator" args="2">:</e>
            <e type="operand">dddx</e>
            <e type="operand">ddx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operand">ddx</e>
            <e type="operand">r</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">stack</e>
            <e type="operator" args="2">:</e>
            <e type="operand">Z</e>
            <e type="operand">dx</e>
            <e type="operand">ddx</e>
            <e type="operator" args="2">*</e>
            <e type="function" args="1">vectorize</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">Z</e>
            <e type="operand">0</e>
            <e type="operator" args="2">&lt;</e>
            <e type="bracket">(</e>
            <e type="operand">dx</e>
            <e type="operand">0</e>
            <e type="operator" args="2">&lt;</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operand">Z</e>
            <e type="operand">0</e>
            <e type="operator" args="2">≡</e>
            <e type="bracket">(</e>
            <e type="operand">dx</e>
            <e type="operand">0</e>
            <e type="operator" args="2">&lt;</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operand">dddx</e>
            <e type="operand">0</e>
            <e type="operator" args="2">&gt;</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operand">x</e>
            <e type="operand">ts</e>
            <e type="operator" args="2">&gt;</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">|</e>
            <e type="function" args="1">vectorize</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="1">MFind</e>
            <e type="operand">9</e>
            <e type="operand">1</e>
            <e type="function" args="11">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region top="648" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region left="90" top="675" width="294" height="33" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">v</e>
          <e type="function" args="1">MPeaks</e>
          <e type="operand">v</e>
          <e type="operand">v</e>
          <e type="function" args="1">min</e>
          <e type="function" args="1">eval</e>
          <e type="function" args="2">MPeaks</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="108" top="738" width="70" height="24" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">n</e>
          <e type="operand">1000</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="117" top="765" width="86" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operand">n</e>
          <e type="function" args="2">range</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="117" top="801" width="87" height="41" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">T</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="operand">30</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="225" top="810" width="145" height="35" color="#000000" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">T</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">T</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">cos</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="108" top="846" width="323" height="36" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">p</e>
          <e type="operand">X</e>
          <e type="function" args="1">MPeaks</e>
          <e type="function" args="1">transpose</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">27</e>
          <e type="operand">194</e>
          <e type="operand">380</e>
          <e type="operand">568</e>
          <e type="operand">756</e>
          <e type="operand">944</e>
          <e type="operand">1</e>
          <e type="operand">6</e>
          <e type="function" args="8">mat</e>
        </result>
      </math>
    </region>
    <region left="63" top="891" width="240" height="158" color="#000000" fontSize="10">
      <plot type="2d" render="lines" scale_x="0.149742004894799" scale_y="0.533849156478058" scale_z="0.388392196156144" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-80" transpose_y="-2" transpose_z="0">
        <input>
          <e type="operand">T</e>
          <e type="operand">X</e>
          <e type="function" args="2">augment</e>
          <e type="operand">1</e>
          <e type="operand">T</e>
          <e type="operand">10</e>
          <e type="operand">X</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operand">X</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operand">X</e>
          <e type="function" args="1">MDiff</e>
          <e type="function" args="2">stack</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="2">augment</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operand">T</e>
          <e type="operand">p</e>
          <e type="function" args="2">el</e>
          <e type="operand">X</e>
          <e type="operand">p</e>
          <e type="function" args="2">el</e>
          <e type="operand" style="string">o</e>
          <e type="function" args="3">augment</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">sys</e>
        </input>
      </plot>
    </region>
  </regions>
</worksheet>