﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Solver" version="1.3.0.9126"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>4b65eea6-051e-42d4-8e21-a83f96d0207a</id>
      <revision>4</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <mixedNumbers>false</mixedNumbers>
      <roundingMode>0</roundingMode>
      <approximateEqualAccuracy>0</approximateEqualAccuracy>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true" hideElementsHighlightings="true">
      <paper id="1" orientation="Portrait" width="850" height="1100" />
      <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 Core" version="1.73.9126.0" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.73.9126.0" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="SpecialFunctions" version="1.73.9126.0" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.73.9126.0" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="54" top="9" width="129" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">M</e>
          <e type="operand">4</e>
          <e type="operand">6</e>
          <e type="function" args="2">matrix</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="54" top="45" width="344" height="56" color="#000000" fontSize="10">
      <text lang="eng" width="340" fontFamily="Consolas" fontSize="10">
        <content>
          <p>Prealocating is not needed, but in this case we define the matrix size. We define the matrix using single indexing method.</p>
        </content>
      </text>
    </region>
    <region left="54" top="117" width="92" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operand">24</e>
          <e type="function" args="2">range</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="189" top="117" width="178" height="35" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">M</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">10</e>
          <e type="function" args="1">random</e>
          <e type="function" args="1">eval</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="54" top="153" width="129" height="81" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">M</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
          <e type="operand">5</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="operand">2</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="operand">7</e>
          <e type="operand">4</e>
          <e type="operand">7</e>
          <e type="operand">9</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="operand">2</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">3</e>
          <e type="operand">3</e>
          <e type="operand">9</e>
          <e type="operand">1</e>
          <e type="operand">8</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="operand">6</e>
          <e type="function" args="26">mat</e>
        </result>
      </math>
    </region>
    <region left="54" top="252" width="58" height="24" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Consolas" fontSize="10">
        <content>
          <p style="font-weight: bold;">Matlab</p>
        </content>
      </text>
    </region>
    <region left="234" top="252" width="51" height="24" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Consolas" fontSize="10">
        <content>
          <p style="font-weight: bold;">SMath</p>
        </content>
      </text>
    </region>
    <region left="54" top="288" width="43" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">4</e>
          <e type="function" args="1">M</e>
        </input>
      </math>
    </region>
    <region left="234" top="288" width="55" height="33" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">M</e>
          <e type="operand">4</e>
          <e type="function" args="2">el</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region left="54" top="333" width="65" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">4</e>
          <e type="operand">\003A\</e>
          <e type="function" args="2">M</e>
        </input>
      </math>
    </region>
    <region left="234" top="333" width="240" height="38" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">M</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="operand">M</e>
          <e type="function" args="1">cols</e>
          <e type="function" args="2">range</e>
          <e type="function" args="3">el</e>
        </input>
        <result action="numeric">
          <e type="operand">3</e>
          <e type="operand">3</e>
          <e type="operand">9</e>
          <e type="operand">1</e>
          <e type="operand">8</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="operand">6</e>
          <e type="function" args="8">mat</e>
        </result>
      </math>
    </region>
    <region left="54" top="378" width="129" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">2\003A\end</e>
          <e type="operand">[1\002C\3]</e>
          <e type="function" args="2">M</e>
        </input>
      </math>
    </region>
    <region left="234" top="378" width="213" height="63" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">M</e>
          <e type="operand">2</e>
          <e type="operand">M</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="function" args="3">el</e>
        </input>
        <result action="numeric">
          <e type="operand">4</e>
          <e type="operand">3</e>
          <e type="operand">9</e>
          <e type="operand">5</e>
          <e type="operand">3</e>
          <e type="operand">9</e>
          <e type="operand">3</e>
          <e type="operand">2</e>
          <e type="function" args="8">mat</e>
        </result>
      </math>
    </region>
    <region left="54" top="459" width="131" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">[2\002C\4]</e>
          <e type="operand">[1\002C\3]</e>
          <e type="function" args="2">M</e>
        </input>
      </math>
    </region>
    <region left="234" top="459" width="154" height="46" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">M</e>
          <e type="operand">2</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="function" args="3">el</e>
        </input>
        <result action="numeric">
          <e type="operand">4</e>
          <e type="operand">3</e>
          <e type="operand">3</e>
          <e type="operand">9</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="6">mat</e>
        </result>
      </math>
    </region>
  </regions>
</worksheet>