﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="1.0.8348.30405"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>33383bdd-964e-4f82-955c-0c67cc24d3a7</id>
      <revision>50</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <approximateEqualAccuracy>0</approximateEqualAccuracy>
      <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="39" bottom="39" />
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="1.0.8348.30405" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.8348.30405" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Custom Functions" version="1.1.8051.30522" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <assembly name="SpecialFunctions" version="1.12.8348.30405" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.8348.30405" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="FFTPACK" version="1.1.7563.3712" guid="a2e19c35-336f-46e2-9669-25c2cf66b536" />
      <assembly name="PlotRegion" version="1.11.8348.30405" guid="c451c2b5-798b-4f08-b9ec-b90963d1ddaa" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="18" top="18" width="148" height="26" color="#800000" fontSize="12">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="font-weight: bold; font-size: 12px; color: #800000;">Hilbert Transform</p>
        </content>
      </text>
    </region>
    <region left="18" top="54" width="692" height="268" color="#000000" fontSize="10">
      <math breaking="96">
        <input>
          <e type="operand">X</e>
          <e type="function" args="1">HilbertT</e>
          <e type="operand">m</e>
          <e type="operand">X</e>
          <e type="function" args="1">rows</e>
          <e type="operator" args="2">:</e>
          <e type="operand">ε</e>
          <e type="operand">m</e>
          <e type="operand">2</e>
          <e type="function" args="2">log</e>
          <e type="function" args="1">Floor</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="operand">m</e>
          <e type="operand">m</e>
          <e type="operand">m</e>
          <e type="operand">2</e>
          <e type="operand">ε</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">/</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">≡</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="1">eval</e>
          <e type="operator" args="2">:</e>
          <e type="operand">y</e>
          <e type="operand">X</e>
          <e type="function" args="1">Re</e>
          <e type="operand">X</e>
          <e type="function" args="1">UnitsOf</e>
          <e type="operator" args="2">/</e>
          <e type="function" args="1">vectorize</e>
          <e type="operand">m</e>
          <e type="function" args="2">fft</e>
          <e type="operator" args="2">:</e>
          <e type="operand">n</e>
          <e type="function" args="1">M</e>
          <e type="operand">n</e>
          <e type="operand">1</e>
          <e type="function" args="2">matrix</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>
          <e type="operand">h</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="operand">m</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="function" args="1">trunc</e>
          <e type="function" args="1">M</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="operand">m</e>
          <e type="operand">2</e>
          <e type="operand">m</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="function" args="1">trunc</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="1">M</e>
          <e type="operator" args="2">+</e>
          <e type="operand">m</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="function" args="1">trunc</e>
          <e type="function" args="1">M</e>
          <e type="function" args="4">stack</e>
          <e type="function" args="1">eval</e>
          <e type="operator" args="2">:</e>
          <e type="operand">y</e>
          <e type="operand">h</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">vectorize</e>
          <e type="operand">m</e>
          <e type="function" args="2">ifft</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="342" width="244" height="44" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">n</e>
          <e type="function" args="3">pR</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">a</e>
          <e type="operator" args="2">-</e>
          <e type="operand">n</e>
          <e type="operator" args="2">/</e>
          <e type="operand">0</e>
          <e type="operand">n</e>
          <e type="function" args="2">range</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</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="18" top="405" width="218" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="font-weight: bold;">Application: Envelope Detection</p>
        </content>
      </text>
    </region>
    <region left="18" top="459" width="139" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Discerte time domain</p>
        </content>
      </text>
    </region>
    <region left="198" top="459" width="176" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">T</e>
          <e type="operand">0</e>
          <e type="operand" style="unit">s</e>
          <e type="operator" args="2">*</e>
          <e type="operand">10</e>
          <e type="operand" style="unit">s</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1000</e>
          <e type="function" args="3">pR</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="486" width="51" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Signal</p>
        </content>
      </text>
    </region>
    <region left="198" top="486" width="264" height="34" color="#000000" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">S</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="operand" style="unit">Hz</e>
          <e type="operator" args="2">*</e>
          <e type="operand">T</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">sin</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operand">12</e>
          <e type="operand" style="unit">Hz</e>
          <e type="operator" args="2">*</e>
          <e type="operand">T</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">sin</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">vectorize</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="522" width="113" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Hilbert transform</p>
        </content>
      </text>
    </region>
    <region left="198" top="522" width="129" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">H</e>
          <e type="operand">S</e>
          <e type="function" args="1">HilbertT</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="198" top="558" width="240" height="158" color="#000000" fontSize="8">
      <plot type="2d" render="lines" scale_x="2.20772020752564" scale_y="2.16378657539588" scale_z="5.44561404097215" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-90" transpose_y="-1" transpose_z="0">
        <description active="true" position="Top" lang="eng">
          <content>
            <p>Signal envelope</p>
          </content>
        </description>
        <input>
          <e type="operand">T</e>
          <e type="operand">S</e>
          <e type="function" args="2">augment</e>
          <e type="operand">T</e>
          <e type="operand">H</e>
          <e type="function" args="1">abs</e>
          <e type="function" args="1">vectorize</e>
          <e type="function" args="2">augment</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
        </input>
      </plot>
    </region>
    <region left="450" top="558" width="240" height="158" color="#000000" fontSize="8">
      <plot type="2d" render="lines" scale_x="2.02729128331096" scale_y="2.27529885893486" scale_z="5.25827148051427" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-99" transpose_y="-1" transpose_z="0">
        <description active="true" position="Top" lang="eng">
          <content>
            <p>Signal phase</p>
          </content>
        </description>
        <input>
          <e type="operand">T</e>
          <e type="operand">H</e>
          <e type="function" args="1">arg</e>
          <e type="function" args="1">vectorize</e>
          <e type="function" args="2">augment</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">sys</e>
        </input>
      </plot>
    </region>
    <region left="18" top="792" width="60" height="24" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">Alvaro</e>
        </input>
      </math>
    </region>
  </regions>
</worksheet>