\contentsline {chapter}{\numberline {1}Introduction and Getting Started}{35}
\contentsline {section}{\numberline {1.1}INSTALL Installing FreeMat}{35}
\contentsline {subsection}{\numberline {1.1.1}General Instructions}{35}
\contentsline {subsection}{\numberline {1.1.2}Linux}{35}
\contentsline {subsection}{\numberline {1.1.3}Windows}{36}
\contentsline {subsection}{\numberline {1.1.4}Mac OS X}{36}
\contentsline {subsection}{\numberline {1.1.5}Source Code}{36}
\contentsline {chapter}{\numberline {2}Variables and Arrays}{37}
\contentsline {section}{\numberline {2.1}CELL Cell Array Definitions}{37}
\contentsline {subsection}{\numberline {2.1.1}Usage}{37}
\contentsline {subsection}{\numberline {2.1.2}Examples}{37}
\contentsline {section}{\numberline {2.2}Function Handles}{38}
\contentsline {subsection}{\numberline {2.2.1}Usage}{38}
\contentsline {section}{\numberline {2.3}GLOBAL Global Variables}{38}
\contentsline {subsection}{\numberline {2.3.1}Usage}{38}
\contentsline {subsection}{\numberline {2.3.2}Example}{39}
\contentsline {section}{\numberline {2.4}INDEXING Indexing Expressions}{39}
\contentsline {subsection}{\numberline {2.4.1}Usage}{39}
\contentsline {subsection}{\numberline {2.4.2}Array Indexing}{39}
\contentsline {subsection}{\numberline {2.4.3}Cell Indexing}{42}
\contentsline {subsection}{\numberline {2.4.4}Structure Indexing}{44}
\contentsline {subsection}{\numberline {2.4.5}Complex Indexing}{46}
\contentsline {section}{\numberline {2.5}MATRIX Matrix Definitions}{46}
\contentsline {subsection}{\numberline {2.5.1}Usage}{46}
\contentsline {subsection}{\numberline {2.5.2}Examples}{47}
\contentsline {section}{\numberline {2.6}PERSISTENT Persistent Variables}{48}
\contentsline {subsection}{\numberline {2.6.1}Usage}{48}
\contentsline {subsection}{\numberline {2.6.2}Example}{48}
\contentsline {section}{\numberline {2.7}STRING String Arrays}{49}
\contentsline {subsection}{\numberline {2.7.1}Usage}{49}
\contentsline {section}{\numberline {2.8}STRUCT Structure Array Constructor}{51}
\contentsline {subsection}{\numberline {2.8.1}Usage}{51}
\contentsline {subsection}{\numberline {2.8.2}Example}{51}
\contentsline {chapter}{\numberline {3}Functions and Scripts}{53}
\contentsline {section}{\numberline {3.1}FUNCTION Function Declarations}{53}
\contentsline {subsection}{\numberline {3.1.1}Usage}{53}
\contentsline {subsection}{\numberline {3.1.2}Examples}{54}
\contentsline {section}{\numberline {3.2}KEYWORDS Function Keywords}{56}
\contentsline {subsection}{\numberline {3.2.1}Usage}{56}
\contentsline {subsection}{\numberline {3.2.2}Example}{57}
\contentsline {section}{\numberline {3.3}NARGIN Number of Input Arguments}{58}
\contentsline {subsection}{\numberline {3.3.1}Usage}{58}
\contentsline {subsection}{\numberline {3.3.2}Example}{58}
\contentsline {section}{\numberline {3.4}NARGOUT Number of Output Arguments}{58}
\contentsline {subsection}{\numberline {3.4.1}Usage}{58}
\contentsline {subsection}{\numberline {3.4.2}Example}{59}
\contentsline {section}{\numberline {3.5}SCRIPT Script Files}{60}
\contentsline {subsection}{\numberline {3.5.1}Usage}{60}
\contentsline {subsection}{\numberline {3.5.2}Example}{60}
\contentsline {section}{\numberline {3.6}SPECIAL Special Calling Syntax}{60}
\contentsline {subsection}{\numberline {3.6.1}Usage}{60}
\contentsline {subsection}{\numberline {3.6.2}Example}{61}
\contentsline {section}{\numberline {3.7}VARARGIN Variable Input Arguments}{61}
\contentsline {subsection}{\numberline {3.7.1}Usage}{61}
\contentsline {subsection}{\numberline {3.7.2}Example}{62}
\contentsline {section}{\numberline {3.8}VARARGOUT Variable Output Arguments}{62}
\contentsline {subsection}{\numberline {3.8.1}Usage}{62}
\contentsline {subsection}{\numberline {3.8.2}Example}{62}
\contentsline {chapter}{\numberline {4}Mathematical Operators}{65}
\contentsline {section}{\numberline {4.1}COLON Index Generation Operator}{65}
\contentsline {subsection}{\numberline {4.1.1}Usage}{65}
\contentsline {subsection}{\numberline {4.1.2}Function Internals}{65}
\contentsline {subsection}{\numberline {4.1.3}Examples}{67}
\contentsline {section}{\numberline {4.2}COMPARISONOPS Array Comparison Operators}{68}
\contentsline {subsection}{\numberline {4.2.1}Usage}{68}
\contentsline {subsection}{\numberline {4.2.2}Examples}{68}
\contentsline {section}{\numberline {4.3}DOTLEFTDIVIDE Element-wise Left-Division Operator}{69}
\contentsline {subsection}{\numberline {4.3.1}Usage}{69}
\contentsline {subsection}{\numberline {4.3.2}Function Internals}{69}
\contentsline {subsection}{\numberline {4.3.3}Examples}{70}
\contentsline {section}{\numberline {4.4}DOTPOWER Element-wise Power Operator}{71}
\contentsline {subsection}{\numberline {4.4.1}Usage}{71}
\contentsline {subsection}{\numberline {4.4.2}Function Internals}{72}
\contentsline {subsection}{\numberline {4.4.3}Examples}{72}
\contentsline {section}{\numberline {4.5}DOTRIGHTDIVIDE Element-wise Right-Division Operator}{73}
\contentsline {subsection}{\numberline {4.5.1}Usage}{73}
\contentsline {subsection}{\numberline {4.5.2}Function Internals}{74}
\contentsline {subsection}{\numberline {4.5.3}Examples}{74}
\contentsline {section}{\numberline {4.6}DOTTIMES Element-wise Multiplication Operator}{76}
\contentsline {subsection}{\numberline {4.6.1}Usage}{76}
\contentsline {subsection}{\numberline {4.6.2}Function Internals}{76}
\contentsline {subsection}{\numberline {4.6.3}Examples}{76}
\contentsline {section}{\numberline {4.7}HERMITIAN Matrix Hermitian (Conjugate Transpose) Operator}{78}
\contentsline {subsection}{\numberline {4.7.1}Usage}{78}
\contentsline {subsection}{\numberline {4.7.2}Function Internals}{79}
\contentsline {subsection}{\numberline {4.7.3}Examples}{79}
\contentsline {section}{\numberline {4.8}LEFTDIVIDE Matrix Equation Solver/Divide Operator}{80}
\contentsline {subsection}{\numberline {4.8.1}Usage}{80}
\contentsline {subsection}{\numberline {4.8.2}Function Internals}{80}
\contentsline {subsection}{\numberline {4.8.3}Examples}{81}
\contentsline {section}{\numberline {4.9}LOGICALOPS Logical Array Operators}{83}
\contentsline {subsection}{\numberline {4.9.1}Usage}{83}
\contentsline {subsection}{\numberline {4.9.2}Examples}{83}
\contentsline {section}{\numberline {4.10}MINUS Subtraction Operator}{85}
\contentsline {subsection}{\numberline {4.10.1}Usage}{85}
\contentsline {subsection}{\numberline {4.10.2}Function Internals}{85}
\contentsline {subsection}{\numberline {4.10.3}Examples}{86}
\contentsline {section}{\numberline {4.11}PLUS Addition Operator}{87}
\contentsline {subsection}{\numberline {4.11.1}Usage}{87}
\contentsline {subsection}{\numberline {4.11.2}Function Internals}{88}
\contentsline {subsection}{\numberline {4.11.3}Examples}{88}
\contentsline {section}{\numberline {4.12}POWER Matrix Power Operator}{90}
\contentsline {subsection}{\numberline {4.12.1}Usage}{90}
\contentsline {subsection}{\numberline {4.12.2}Function Internals}{91}
\contentsline {subsection}{\numberline {4.12.3}Examples}{91}
\contentsline {section}{\numberline {4.13}RIGHTDIVIDE Matrix Equation Solver/Divide Operator}{92}
\contentsline {subsection}{\numberline {4.13.1}Usage}{92}
\contentsline {subsection}{\numberline {4.13.2}Function Internals}{93}
\contentsline {subsection}{\numberline {4.13.3}Examples}{93}
\contentsline {section}{\numberline {4.14}TIMES Matrix Multiply Operator}{93}
\contentsline {subsection}{\numberline {4.14.1}Usage}{93}
\contentsline {subsection}{\numberline {4.14.2}Function Internals}{94}
\contentsline {subsection}{\numberline {4.14.3}Examples}{94}
\contentsline {section}{\numberline {4.15}TRANSPOSE Matrix Transpose Operator}{95}
\contentsline {subsection}{\numberline {4.15.1}Usage}{95}
\contentsline {subsection}{\numberline {4.15.2}Function Internals}{96}
\contentsline {subsection}{\numberline {4.15.3}Examples}{96}
\contentsline {chapter}{\numberline {5}Flow Control}{97}
\contentsline {section}{\numberline {5.1}BREAK Exit Execution In Loop}{97}
\contentsline {subsection}{\numberline {5.1.1}Usage}{97}
\contentsline {subsection}{\numberline {5.1.2}Example}{97}
\contentsline {section}{\numberline {5.2}CONTINUE Continue Execution In Loop}{98}
\contentsline {subsection}{\numberline {5.2.1}Usage}{98}
\contentsline {subsection}{\numberline {5.2.2}Example}{98}
\contentsline {section}{\numberline {5.3}ERROR Causes an Error Condition Raised}{99}
\contentsline {subsection}{\numberline {5.3.1}Usage}{99}
\contentsline {subsection}{\numberline {5.3.2}Example}{99}
\contentsline {section}{\numberline {5.4}FOR For Loop}{99}
\contentsline {subsection}{\numberline {5.4.1}Usage}{99}
\contentsline {subsection}{\numberline {5.4.2}Examples}{100}
\contentsline {section}{\numberline {5.5}IF-ELSEIF-ELSE Conditional Statements}{101}
\contentsline {subsection}{\numberline {5.5.1}Usage}{101}
\contentsline {subsection}{\numberline {5.5.2}Examples}{101}
\contentsline {section}{\numberline {5.6}KEYBOARD Initiate Interactive Debug Session}{102}
\contentsline {subsection}{\numberline {5.6.1}Usage}{102}
\contentsline {subsection}{\numberline {5.6.2}Example}{102}
\contentsline {section}{\numberline {5.7}LASTERR Retrieve Last Error Message}{103}
\contentsline {subsection}{\numberline {5.7.1}Usage}{103}
\contentsline {subsection}{\numberline {5.7.2}Example}{104}
\contentsline {section}{\numberline {5.8}RETALL Return From All Keyboard Sessions}{104}
\contentsline {subsection}{\numberline {5.8.1}Usage}{104}
\contentsline {subsection}{\numberline {5.8.2}Example}{104}
\contentsline {section}{\numberline {5.9}RETURN Return From Function}{105}
\contentsline {subsection}{\numberline {5.9.1}Usage}{105}
\contentsline {subsection}{\numberline {5.9.2}Example}{105}
\contentsline {section}{\numberline {5.10}SWITCH Switch statement}{107}
\contentsline {subsection}{\numberline {5.10.1}Usage}{107}
\contentsline {subsection}{\numberline {5.10.2}Examples}{107}
\contentsline {section}{\numberline {5.11}TRY-CATCH Try and Catch Statement}{108}
\contentsline {subsection}{\numberline {5.11.1}Usage}{108}
\contentsline {subsection}{\numberline {5.11.2}Examples}{108}
\contentsline {section}{\numberline {5.12}WARNING Emits a Warning Message}{109}
\contentsline {subsection}{\numberline {5.12.1}Usage}{109}
\contentsline {section}{\numberline {5.13}WHILE While Loop}{109}
\contentsline {subsection}{\numberline {5.13.1}Usage}{109}
\contentsline {subsection}{\numberline {5.13.2}Examples}{109}
\contentsline {chapter}{\numberline {6}FreeMat Functions}{111}
\contentsline {section}{\numberline {6.1}ADDPATH Add }{111}
\contentsline {subsection}{\numberline {6.1.1}Usage}{111}
\contentsline {section}{\numberline {6.2}ASSIGNIN Assign Variable in Workspace}{111}
\contentsline {subsection}{\numberline {6.2.1}Usage}{111}
\contentsline {section}{\numberline {6.3}BUILTIN Evaulate Builtin Function}{112}
\contentsline {subsection}{\numberline {6.3.1}Usage}{112}
\contentsline {section}{\numberline {6.4}CLC Clear Dislplay}{112}
\contentsline {subsection}{\numberline {6.4.1}Usage}{112}
\contentsline {section}{\numberline {6.5}CLOCK Get Current Time}{112}
\contentsline {subsection}{\numberline {6.5.1}Usage}{112}
\contentsline {subsection}{\numberline {6.5.2}Example}{112}
\contentsline {section}{\numberline {6.6}CLOCKTOTIME Convert Clock Vector to Epoch Time}{113}
\contentsline {subsection}{\numberline {6.6.1}Usage}{113}
\contentsline {subsection}{\numberline {6.6.2}Example}{113}
\contentsline {section}{\numberline {6.7}COMPUTER Computer System FreeMat is Running On}{113}
\contentsline {subsection}{\numberline {6.7.1}Usage}{113}
\contentsline {section}{\numberline {6.8}DIARY Create a Log File of Console}{114}
\contentsline {subsection}{\numberline {6.8.1}Usage}{114}
\contentsline {section}{\numberline {6.9}DOCLI Start a Command Line Interface}{114}
\contentsline {subsection}{\numberline {6.9.1}Usage}{114}
\contentsline {section}{\numberline {6.10}EDITOR Open Editor Window}{115}
\contentsline {subsection}{\numberline {6.10.1}Usage}{115}
\contentsline {section}{\numberline {6.11}ERRORCOUNT Retrieve the Error Counter for the Interpreter}{115}
\contentsline {subsection}{\numberline {6.11.1}Usage}{115}
\contentsline {section}{\numberline {6.12}ETIME Elapsed Time Function}{115}
\contentsline {subsection}{\numberline {6.12.1}Usage}{115}
\contentsline {subsection}{\numberline {6.12.2}Example}{115}
\contentsline {section}{\numberline {6.13}EVAL Evaluate a String}{115}
\contentsline {subsection}{\numberline {6.13.1}Usage}{115}
\contentsline {subsection}{\numberline {6.13.2}Example}{116}
\contentsline {section}{\numberline {6.14}EVALIN Evaluate a String in Workspace}{117}
\contentsline {subsection}{\numberline {6.14.1}Usage}{117}
\contentsline {section}{\numberline {6.15}EXIT Exit Program}{117}
\contentsline {subsection}{\numberline {6.15.1}Usage}{117}
\contentsline {section}{\numberline {6.16}FEVAL Evaluate a Function}{118}
\contentsline {subsection}{\numberline {6.16.1}Usage}{118}
\contentsline {subsection}{\numberline {6.16.2}Example}{118}
\contentsline {section}{\numberline {6.17}FILESEP Directory Separation Character}{119}
\contentsline {subsection}{\numberline {6.17.1}Usage}{119}
\contentsline {section}{\numberline {6.18}HELP Help}{119}
\contentsline {subsection}{\numberline {6.18.1}Usage}{119}
\contentsline {section}{\numberline {6.19}HELPWIN Online Help Window}{119}
\contentsline {subsection}{\numberline {6.19.1}Usage}{119}
\contentsline {section}{\numberline {6.20}IMPORT Foreign Function Import}{119}
\contentsline {subsection}{\numberline {6.20.1}Usage}{119}
\contentsline {subsection}{\numberline {6.20.2}Example}{121}
\contentsline {section}{\numberline {6.21}LOADLIB Load Library Function}{122}
\contentsline {subsection}{\numberline {6.21.1}Usage}{122}
\contentsline {section}{\numberline {6.22}MFILENAME Name of Current Function}{123}
\contentsline {subsection}{\numberline {6.22.1}Usage}{123}
\contentsline {section}{\numberline {6.23}PATH Get or Set FreeMat Path}{123}
\contentsline {subsection}{\numberline {6.23.1}Usage}{123}
\contentsline {section}{\numberline {6.24}PATHSEP Path Directories Separation Character}{123}
\contentsline {subsection}{\numberline {6.24.1}Usage}{123}
\contentsline {section}{\numberline {6.25}PATHTOOL Open Path Setting Tool}{124}
\contentsline {subsection}{\numberline {6.25.1}Usage}{124}
\contentsline {section}{\numberline {6.26}PCODE Convert a Script or Function to P-Code}{124}
\contentsline {subsection}{\numberline {6.26.1}Usage}{124}
\contentsline {section}{\numberline {6.27}QUIT Quit Program}{124}
\contentsline {subsection}{\numberline {6.27.1}Usage}{124}
\contentsline {section}{\numberline {6.28}REHASH Rehash Directory Caches}{124}
\contentsline {subsection}{\numberline {6.28.1}Usage}{124}
\contentsline {section}{\numberline {6.29}RESCAN Rescan M Files for Changes}{124}
\contentsline {subsection}{\numberline {6.29.1}Usage}{124}
\contentsline {section}{\numberline {6.30}SIMKEYS Simulate Keypresses from the User}{125}
\contentsline {subsection}{\numberline {6.30.1}Usage}{125}
\contentsline {section}{\numberline {6.31}SLEEP Sleep For Specified Number of Seconds}{125}
\contentsline {subsection}{\numberline {6.31.1}Usage}{125}
\contentsline {section}{\numberline {6.32}SOURCE Execute an Arbitrary File}{125}
\contentsline {subsection}{\numberline {6.32.1}Usage}{125}
\contentsline {subsection}{\numberline {6.32.2}Example}{125}
\contentsline {section}{\numberline {6.33}STARTUP Startup Script}{126}
\contentsline {subsection}{\numberline {6.33.1}Usage}{126}
\contentsline {section}{\numberline {6.34}TIC Start Stopwatch Timer}{126}
\contentsline {subsection}{\numberline {6.34.1}Usage}{126}
\contentsline {subsection}{\numberline {6.34.2}Example}{126}
\contentsline {section}{\numberline {6.35}TOC Stop Stopwatch Timer}{126}
\contentsline {subsection}{\numberline {6.35.1}Usage}{126}
\contentsline {subsection}{\numberline {6.35.2}Example}{126}
\contentsline {section}{\numberline {6.36}TYPERULES Type Rules}{127}
\contentsline {subsection}{\numberline {6.36.1}Usage}{127}
\contentsline {section}{\numberline {6.37}VERSTRING The Current Version String}{127}
\contentsline {subsection}{\numberline {6.37.1}Usage}{127}
\contentsline {subsection}{\numberline {6.37.2}Example}{127}
\contentsline {chapter}{\numberline {7}Debugging FreeMat Code}{129}
\contentsline {section}{\numberline {7.1}DBAUTO Control Dbauto Functionality}{129}
\contentsline {subsection}{\numberline {7.1.1}Usage}{129}
\contentsline {section}{\numberline {7.2}DBDELETE Delete a Breakpoint}{130}
\contentsline {subsection}{\numberline {7.2.1}Usage}{130}
\contentsline {section}{\numberline {7.3}DBLIST List Breakpoints}{130}
\contentsline {subsection}{\numberline {7.3.1}Usage}{130}
\contentsline {section}{\numberline {7.4}DBSTEP Step N Statements}{130}
\contentsline {subsection}{\numberline {7.4.1}Usage}{130}
\contentsline {section}{\numberline {7.5}DBSTOP}{130}
\contentsline {subsection}{\numberline {7.5.1}Usage}{130}
\contentsline {chapter}{\numberline {8}Sparse Matrix Support}{131}
\contentsline {section}{\numberline {8.1}EIGS Sparse Matrix Eigendecomposition}{131}
\contentsline {subsection}{\numberline {8.1.1}Usage}{131}
\contentsline {subsection}{\numberline {8.1.2}Example}{132}
\contentsline {section}{\numberline {8.2}FULL Convert Sparse Matrix to Full Matrix}{133}
\contentsline {subsection}{\numberline {8.2.1}Usage}{133}
\contentsline {subsection}{\numberline {8.2.2}Example}{133}
\contentsline {section}{\numberline {8.3}NNZ Number of Nonzeros}{134}
\contentsline {subsection}{\numberline {8.3.1}Usage}{134}
\contentsline {subsection}{\numberline {8.3.2}Example}{134}
\contentsline {section}{\numberline {8.4}SPARSE Construct a Sparse Matrix}{135}
\contentsline {subsection}{\numberline {8.4.1}Usage}{135}
\contentsline {section}{\numberline {8.5}SPEYE Sparse Identity Matrix}{135}
\contentsline {subsection}{\numberline {8.5.1}Usage}{135}
\contentsline {subsection}{\numberline {8.5.2}Example}{135}
\contentsline {section}{\numberline {8.6}SPONES Sparse Ones Function}{136}
\contentsline {subsection}{\numberline {8.6.1}Usage}{136}
\contentsline {subsection}{\numberline {8.6.2}Examples}{136}
\contentsline {section}{\numberline {8.7}SPRAND Sparse Uniform Random Matrix}{137}
\contentsline {subsection}{\numberline {8.7.1}Usage}{137}
\contentsline {subsection}{\numberline {8.7.2}Examples}{137}
\contentsline {section}{\numberline {8.8}SPRANDN Sparse Normal Random Matrix}{138}
\contentsline {subsection}{\numberline {8.8.1}Usage}{138}
\contentsline {subsection}{\numberline {8.8.2}Examples}{138}
\contentsline {section}{\numberline {8.9}SPY Visualize Sparsity Pattern of a Sparse Matrix}{139}
\contentsline {subsection}{\numberline {8.9.1}Usage}{139}
\contentsline {subsection}{\numberline {8.9.2}Example}{140}
\contentsline {chapter}{\numberline {9}Mathematical Functions}{141}
\contentsline {section}{\numberline {9.1}ACOS Inverse Trigonometric Arccosine Function}{141}
\contentsline {subsection}{\numberline {9.1.1}Usage}{141}
\contentsline {subsection}{\numberline {9.1.2}Function Internals}{141}
\contentsline {subsection}{\numberline {9.1.3}Example}{141}
\contentsline {section}{\numberline {9.2}ACOSD Inverse Cosine Degrees Function}{142}
\contentsline {subsection}{\numberline {9.2.1}Usage}{142}
\contentsline {subsection}{\numberline {9.2.2}Examples}{142}
\contentsline {section}{\numberline {9.3}ACOSH Inverse Hyperbolic Cosine Function}{142}
\contentsline {subsection}{\numberline {9.3.1}Usage}{142}
\contentsline {subsection}{\numberline {9.3.2}Function Internals}{143}
\contentsline {subsection}{\numberline {9.3.3}Examples}{143}
\contentsline {section}{\numberline {9.4}ACOT Inverse Cotangent Function}{143}
\contentsline {subsection}{\numberline {9.4.1}Usage}{143}
\contentsline {subsection}{\numberline {9.4.2}Function Internals}{143}
\contentsline {subsection}{\numberline {9.4.3}Examples}{144}
\contentsline {section}{\numberline {9.5}ACOTD Inverse Cotangent Degrees Function}{144}
\contentsline {subsection}{\numberline {9.5.1}Usage}{144}
\contentsline {section}{\numberline {9.6}ACOTH Inverse Hyperbolic Cotangent Function}{144}
\contentsline {subsection}{\numberline {9.6.1}Usage}{144}
\contentsline {subsection}{\numberline {9.6.2}Function Internals}{144}
\contentsline {subsection}{\numberline {9.6.3}Examples}{145}
\contentsline {section}{\numberline {9.7}ACSC Inverse Cosecant Function}{145}
\contentsline {subsection}{\numberline {9.7.1}Usage}{145}
\contentsline {subsection}{\numberline {9.7.2}Function Internals}{145}
\contentsline {subsection}{\numberline {9.7.3}Examples}{145}
\contentsline {section}{\numberline {9.8}ACSCD Inverse Cosecant Degrees Function}{146}
\contentsline {subsection}{\numberline {9.8.1}Usage}{146}
\contentsline {subsection}{\numberline {9.8.2}Examples}{146}
\contentsline {section}{\numberline {9.9}ACSCH Inverse Hyperbolic Cosecant Function}{146}
\contentsline {subsection}{\numberline {9.9.1}Usage}{146}
\contentsline {subsection}{\numberline {9.9.2}Function Internals}{147}
\contentsline {subsection}{\numberline {9.9.3}Examples}{147}
\contentsline {section}{\numberline {9.10}ANGLE Phase Angle Function }{147}
\contentsline {subsection}{\numberline {9.10.1}Usage}{147}
\contentsline {subsection}{\numberline {9.10.2}Function Internals}{147}
\contentsline {subsection}{\numberline {9.10.3}Example}{148}
\contentsline {section}{\numberline {9.11}ASEC Inverse Secant Function}{148}
\contentsline {subsection}{\numberline {9.11.1}Usage}{148}
\contentsline {subsection}{\numberline {9.11.2}Function Internals}{148}
\contentsline {subsection}{\numberline {9.11.3}Examples}{148}
\contentsline {section}{\numberline {9.12}ASECD Inverse Secant Degrees Function}{149}
\contentsline {subsection}{\numberline {9.12.1}Usage}{149}
\contentsline {subsection}{\numberline {9.12.2}Examples}{149}
\contentsline {section}{\numberline {9.13}ASECH Inverse Hyperbolic Secant Function}{149}
\contentsline {subsection}{\numberline {9.13.1}Usage}{149}
\contentsline {subsection}{\numberline {9.13.2}Function Internals}{150}
\contentsline {subsection}{\numberline {9.13.3}Examples}{150}
\contentsline {section}{\numberline {9.14}ASIN Inverse Trigonometric Arcsine Function}{150}
\contentsline {subsection}{\numberline {9.14.1}Usage}{150}
\contentsline {subsection}{\numberline {9.14.2}Function Internals}{150}
\contentsline {subsection}{\numberline {9.14.3}Example}{151}
\contentsline {section}{\numberline {9.15}ASIND Inverse Sine Degrees Function}{151}
\contentsline {subsection}{\numberline {9.15.1}Usage}{151}
\contentsline {subsection}{\numberline {9.15.2}Examples}{151}
\contentsline {section}{\numberline {9.16}ASINH Inverse Hyperbolic Sine Function}{152}
\contentsline {subsection}{\numberline {9.16.1}Usage}{152}
\contentsline {subsection}{\numberline {9.16.2}Function Internals}{152}
\contentsline {subsection}{\numberline {9.16.3}Examples}{152}
\contentsline {section}{\numberline {9.17}ATAN Inverse Trigonometric Arctangent Function}{152}
\contentsline {subsection}{\numberline {9.17.1}Usage}{152}
\contentsline {subsection}{\numberline {9.17.2}Function Internals}{153}
\contentsline {subsection}{\numberline {9.17.3}Example}{153}
\contentsline {section}{\numberline {9.18}ATAN2 Inverse Trigonometric 4-Quadrant Arctangent Function}{153}
\contentsline {subsection}{\numberline {9.18.1}Usage}{153}
\contentsline {subsection}{\numberline {9.18.2}Function Internals}{154}
\contentsline {subsection}{\numberline {9.18.3}Example}{154}
\contentsline {section}{\numberline {9.19}ATAND Inverse Tangent Degrees Function}{154}
\contentsline {subsection}{\numberline {9.19.1}Usage}{154}
\contentsline {subsection}{\numberline {9.19.2}Examples}{155}
\contentsline {section}{\numberline {9.20}ATANH Inverse Hyperbolic Tangent Function}{155}
\contentsline {subsection}{\numberline {9.20.1}Usage}{155}
\contentsline {subsection}{\numberline {9.20.2}Function Internals}{155}
\contentsline {subsection}{\numberline {9.20.3}Examples}{155}
\contentsline {section}{\numberline {9.21}COS Trigonometric Cosine Function}{156}
\contentsline {subsection}{\numberline {9.21.1}Usage}{156}
\contentsline {subsection}{\numberline {9.21.2}Function Internals}{156}
\contentsline {subsection}{\numberline {9.21.3}Example}{156}
\contentsline {section}{\numberline {9.22}COSD Cosine Degrees Function}{156}
\contentsline {subsection}{\numberline {9.22.1}Usage}{156}
\contentsline {subsection}{\numberline {9.22.2}Examples}{157}
\contentsline {section}{\numberline {9.23}COSH Hyperbolic Cosine Function}{157}
\contentsline {subsection}{\numberline {9.23.1}Usage}{157}
\contentsline {subsection}{\numberline {9.23.2}Function Internals}{157}
\contentsline {subsection}{\numberline {9.23.3}Examples}{157}
\contentsline {section}{\numberline {9.24}COT Trigonometric Cotangent Function}{158}
\contentsline {subsection}{\numberline {9.24.1}Usage}{158}
\contentsline {subsection}{\numberline {9.24.2}Function Internals}{158}
\contentsline {subsection}{\numberline {9.24.3}Example}{158}
\contentsline {section}{\numberline {9.25}COTD Cotangent Degrees Function}{159}
\contentsline {subsection}{\numberline {9.25.1}Usage}{159}
\contentsline {subsection}{\numberline {9.25.2}Examples}{159}
\contentsline {section}{\numberline {9.26}COTH Hyperbolic Cotangent Function}{159}
\contentsline {subsection}{\numberline {9.26.1}Usage}{159}
\contentsline {subsection}{\numberline {9.26.2}Function Internals}{159}
\contentsline {subsection}{\numberline {9.26.3}Examples}{160}
\contentsline {section}{\numberline {9.27}CROSS Cross Product of Two Vectors}{160}
\contentsline {subsection}{\numberline {9.27.1}Usage}{160}
\contentsline {section}{\numberline {9.28}CSC Trigonometric Cosecant Function}{160}
\contentsline {subsection}{\numberline {9.28.1}Usage}{160}
\contentsline {subsection}{\numberline {9.28.2}Function Internals}{160}
\contentsline {subsection}{\numberline {9.28.3}Example}{161}
\contentsline {section}{\numberline {9.29}CSCD Cosecant Degrees Function}{161}
\contentsline {subsection}{\numberline {9.29.1}Usage}{161}
\contentsline {section}{\numberline {9.30}CSCH Hyperbolic Cosecant Function}{161}
\contentsline {subsection}{\numberline {9.30.1}Usage}{161}
\contentsline {subsection}{\numberline {9.30.2}Function Internals}{161}
\contentsline {subsection}{\numberline {9.30.3}Examples}{162}
\contentsline {section}{\numberline {9.31}DAWSON Dawson Integral Function}{162}
\contentsline {subsection}{\numberline {9.31.1}Usage}{162}
\contentsline {subsection}{\numberline {9.31.2}Function Internals}{162}
\contentsline {subsection}{\numberline {9.31.3}Example}{162}
\contentsline {section}{\numberline {9.32}DEG2RAD Convert From Degrees To Radians}{163}
\contentsline {subsection}{\numberline {9.32.1}Usage}{163}
\contentsline {subsection}{\numberline {9.32.2}Example}{163}
\contentsline {section}{\numberline {9.33}EI Exponential Integral Function}{163}
\contentsline {subsection}{\numberline {9.33.1}Usage}{163}
\contentsline {subsection}{\numberline {9.33.2}Function Internals}{163}
\contentsline {subsection}{\numberline {9.33.3}Example}{164}
\contentsline {section}{\numberline {9.34}EONE Exponential Integral Function}{164}
\contentsline {subsection}{\numberline {9.34.1}Usage}{164}
\contentsline {subsection}{\numberline {9.34.2}Function Internals}{164}
\contentsline {subsection}{\numberline {9.34.3}Example}{164}
\contentsline {section}{\numberline {9.35}ERF Error Function}{165}
\contentsline {subsection}{\numberline {9.35.1}Usage}{165}
\contentsline {subsection}{\numberline {9.35.2}Function Internals}{165}
\contentsline {subsection}{\numberline {9.35.3}Example}{165}
\contentsline {section}{\numberline {9.36}ERFC Complimentary Error Function}{166}
\contentsline {subsection}{\numberline {9.36.1}Usage}{166}
\contentsline {subsection}{\numberline {9.36.2}Function Internals}{166}
\contentsline {subsection}{\numberline {9.36.3}Example}{166}
\contentsline {section}{\numberline {9.37}ERFCX Complimentary Weighted Error Function}{167}
\contentsline {subsection}{\numberline {9.37.1}Usage}{167}
\contentsline {subsection}{\numberline {9.37.2}Function Internals}{167}
\contentsline {subsection}{\numberline {9.37.3}Example}{167}
\contentsline {section}{\numberline {9.38}EXP Exponential Function}{168}
\contentsline {subsection}{\numberline {9.38.1}Usage}{168}
\contentsline {subsection}{\numberline {9.38.2}Function Internals}{168}
\contentsline {subsection}{\numberline {9.38.3}Example}{168}
\contentsline {section}{\numberline {9.39}EXPEI Exponential Weighted Integral Function}{169}
\contentsline {subsection}{\numberline {9.39.1}Usage}{169}
\contentsline {subsection}{\numberline {9.39.2}Function Internals}{169}
\contentsline {subsection}{\numberline {9.39.3}Example}{170}
\contentsline {section}{\numberline {9.40}EXPM1 Exponential Minus One Function}{170}
\contentsline {subsection}{\numberline {9.40.1}Usage}{170}
\contentsline {section}{\numberline {9.41}FIX Round Towards Zero}{170}
\contentsline {subsection}{\numberline {9.41.1}Usage}{170}
\contentsline {subsection}{\numberline {9.41.2}Example}{170}
\contentsline {section}{\numberline {9.42}GAMMA Gamma Function}{171}
\contentsline {subsection}{\numberline {9.42.1}Usage}{171}
\contentsline {subsection}{\numberline {9.42.2}Function Internals}{171}
\contentsline {subsection}{\numberline {9.42.3}Example}{171}
\contentsline {section}{\numberline {9.43}GAMMALN Log Gamma Function}{172}
\contentsline {subsection}{\numberline {9.43.1}Usage}{172}
\contentsline {subsection}{\numberline {9.43.2}Example}{172}
\contentsline {section}{\numberline {9.44}IDIV Integer Division Operation}{173}
\contentsline {subsection}{\numberline {9.44.1}Usage}{173}
\contentsline {subsection}{\numberline {9.44.2}Example}{173}
\contentsline {section}{\numberline {9.45}LOG Natural Logarithm Function}{173}
\contentsline {subsection}{\numberline {9.45.1}Usage}{173}
\contentsline {subsection}{\numberline {9.45.2}Function Internals}{174}
\contentsline {subsection}{\numberline {9.45.3}Example}{174}
\contentsline {section}{\numberline {9.46}LOG10 Base-10 Logarithm Function}{174}
\contentsline {subsection}{\numberline {9.46.1}Usage}{174}
\contentsline {subsection}{\numberline {9.46.2}Example}{175}
\contentsline {section}{\numberline {9.47}LOG1P Natural Logarithm of 1+P Function}{175}
\contentsline {subsection}{\numberline {9.47.1}Usage}{175}
\contentsline {section}{\numberline {9.48}LOG2 Base-2 Logarithm Function}{175}
\contentsline {subsection}{\numberline {9.48.1}Usage}{175}
\contentsline {subsection}{\numberline {9.48.2}Example}{176}
\contentsline {section}{\numberline {9.49}MOD Modulus Operation}{176}
\contentsline {subsection}{\numberline {9.49.1}Usage}{176}
\contentsline {subsection}{\numberline {9.49.2}Example}{176}
\contentsline {section}{\numberline {9.50}PSI Psi Function}{177}
\contentsline {subsection}{\numberline {9.50.1}Usage}{177}
\contentsline {subsection}{\numberline {9.50.2}Function Internals}{177}
\contentsline {subsection}{\numberline {9.50.3}Example}{178}
\contentsline {section}{\numberline {9.51}RAD2DEG Radians To Degrees Conversion Function}{178}
\contentsline {subsection}{\numberline {9.51.1}Usage}{178}
\contentsline {subsection}{\numberline {9.51.2}Examples}{178}
\contentsline {section}{\numberline {9.52}REM Remainder After Division}{179}
\contentsline {subsection}{\numberline {9.52.1}Usage}{179}
\contentsline {subsection}{\numberline {9.52.2}Example}{179}
\contentsline {section}{\numberline {9.53}SEC Trigonometric Secant Function}{180}
\contentsline {subsection}{\numberline {9.53.1}Usage}{180}
\contentsline {subsection}{\numberline {9.53.2}Function Internals}{180}
\contentsline {subsection}{\numberline {9.53.3}Example}{180}
\contentsline {section}{\numberline {9.54}SECD Secant Degrees Function}{181}
\contentsline {subsection}{\numberline {9.54.1}Usage}{181}
\contentsline {section}{\numberline {9.55}SECH Hyperbolic Secant Function}{181}
\contentsline {subsection}{\numberline {9.55.1}Usage}{181}
\contentsline {subsection}{\numberline {9.55.2}Function Internals}{181}
\contentsline {subsection}{\numberline {9.55.3}Examples}{181}
\contentsline {section}{\numberline {9.56}SIN Trigonometric Sine Function}{181}
\contentsline {subsection}{\numberline {9.56.1}Usage}{181}
\contentsline {subsection}{\numberline {9.56.2}Function Internals}{182}
\contentsline {subsection}{\numberline {9.56.3}Example}{182}
\contentsline {section}{\numberline {9.57}SIND Sine Degrees Function}{182}
\contentsline {subsection}{\numberline {9.57.1}Usage}{182}
\contentsline {subsection}{\numberline {9.57.2}Examples}{183}
\contentsline {section}{\numberline {9.58}SINH Hyperbolic Sine Function}{183}
\contentsline {subsection}{\numberline {9.58.1}Usage}{183}
\contentsline {subsection}{\numberline {9.58.2}Function Internals}{183}
\contentsline {subsection}{\numberline {9.58.3}Examples}{183}
\contentsline {section}{\numberline {9.59}SQRT Square Root of an Array}{184}
\contentsline {subsection}{\numberline {9.59.1}Usage}{184}
\contentsline {subsection}{\numberline {9.59.2}Example}{184}
\contentsline {section}{\numberline {9.60}TAN Trigonometric Tangent Function}{185}
\contentsline {subsection}{\numberline {9.60.1}Usage}{185}
\contentsline {subsection}{\numberline {9.60.2}Function Internals}{185}
\contentsline {subsection}{\numberline {9.60.3}Example}{186}
\contentsline {section}{\numberline {9.61}TAND Tangent Degrees Function}{186}
\contentsline {subsection}{\numberline {9.61.1}Usage}{186}
\contentsline {subsection}{\numberline {9.61.2}Examples}{186}
\contentsline {section}{\numberline {9.62}TANH Hyperbolic Tangent Function}{186}
\contentsline {subsection}{\numberline {9.62.1}Usage}{186}
\contentsline {subsection}{\numberline {9.62.2}Function Internals}{187}
\contentsline {subsection}{\numberline {9.62.3}Examples}{187}
\contentsline {chapter}{\numberline {10}Base Constants}{189}
\contentsline {section}{\numberline {10.1}E Euler Constant (Base of Natural Logarithm)}{189}
\contentsline {subsection}{\numberline {10.1.1}Usage}{189}
\contentsline {subsection}{\numberline {10.1.2}Example}{189}
\contentsline {section}{\numberline {10.2}EPS Double Precision Floating Point Relative Machine Precision Epsilon}{189}
\contentsline {subsection}{\numberline {10.2.1}Usage}{189}
\contentsline {subsection}{\numberline {10.2.2}Example}{190}
\contentsline {section}{\numberline {10.3}FALSE Logical False}{190}
\contentsline {subsection}{\numberline {10.3.1}Usage}{190}
\contentsline {section}{\numberline {10.4}FEPS Single Precision Floating Point Relative Machine Precision Epsilon}{190}
\contentsline {subsection}{\numberline {10.4.1}Usage}{190}
\contentsline {subsection}{\numberline {10.4.2}Example}{190}
\contentsline {section}{\numberline {10.5}I-J Square Root of Negative One}{191}
\contentsline {subsection}{\numberline {10.5.1}Usage}{191}
\contentsline {subsection}{\numberline {10.5.2}Example}{191}
\contentsline {section}{\numberline {10.6}INF Infinity Constant}{192}
\contentsline {subsection}{\numberline {10.6.1}Usage}{192}
\contentsline {subsection}{\numberline {10.6.2}Function Internals}{192}
\contentsline {subsection}{\numberline {10.6.3}Example}{192}
\contentsline {section}{\numberline {10.7}NAN Not-a-Number Constant}{193}
\contentsline {subsection}{\numberline {10.7.1}Usage}{193}
\contentsline {subsection}{\numberline {10.7.2}Example}{194}
\contentsline {section}{\numberline {10.8}PI Constant Pi}{194}
\contentsline {subsection}{\numberline {10.8.1}Usage}{194}
\contentsline {subsection}{\numberline {10.8.2}Example}{194}
\contentsline {section}{\numberline {10.9}TEPS Type-based Epsilon Calculation}{195}
\contentsline {subsection}{\numberline {10.9.1}Usage}{195}
\contentsline {subsection}{\numberline {10.9.2}Example}{195}
\contentsline {section}{\numberline {10.10}TRUE Logical TRUE}{196}
\contentsline {subsection}{\numberline {10.10.1}Usage}{196}
\contentsline {chapter}{\numberline {11}Elementary Functions}{197}
\contentsline {section}{\numberline {11.1}ABS Absolute Value Function}{197}
\contentsline {subsection}{\numberline {11.1.1}Usage}{197}
\contentsline {subsection}{\numberline {11.1.2}Example}{197}
\contentsline {section}{\numberline {11.2}ALL All True Function}{198}
\contentsline {subsection}{\numberline {11.2.1}Usage}{198}
\contentsline {subsection}{\numberline {11.2.2}Function Internals}{198}
\contentsline {subsection}{\numberline {11.2.3}Example}{198}
\contentsline {section}{\numberline {11.3}ANY Any True Function}{199}
\contentsline {subsection}{\numberline {11.3.1}Usage}{199}
\contentsline {subsection}{\numberline {11.3.2}Function Internals}{199}
\contentsline {subsection}{\numberline {11.3.3}Example}{200}
\contentsline {section}{\numberline {11.4}CEIL Ceiling Function}{200}
\contentsline {subsection}{\numberline {11.4.1}Usage}{200}
\contentsline {subsection}{\numberline {11.4.2}Example}{201}
\contentsline {section}{\numberline {11.5}CONJ Conjugate Function}{201}
\contentsline {subsection}{\numberline {11.5.1}Usage}{201}
\contentsline {subsection}{\numberline {11.5.2}Example}{202}
\contentsline {section}{\numberline {11.6}CUMPROD Cumulative Product Function}{202}
\contentsline {subsection}{\numberline {11.6.1}Usage}{202}
\contentsline {subsection}{\numberline {11.6.2}Function Internals}{202}
\contentsline {subsection}{\numberline {11.6.3}Example}{203}
\contentsline {section}{\numberline {11.7}CUMSUM Cumulative Summation Function}{204}
\contentsline {subsection}{\numberline {11.7.1}Usage}{204}
\contentsline {subsection}{\numberline {11.7.2}Function Internals}{204}
\contentsline {subsection}{\numberline {11.7.3}Example}{204}
\contentsline {section}{\numberline {11.8}DEAL Multiple Simultaneous Assignments}{206}
\contentsline {subsection}{\numberline {11.8.1}Usage}{206}
\contentsline {section}{\numberline {11.9}DOT Dot Product Function}{206}
\contentsline {subsection}{\numberline {11.9.1}Usage}{206}
\contentsline {section}{\numberline {11.10}FLOOR Floor Function}{206}
\contentsline {subsection}{\numberline {11.10.1}Usage}{206}
\contentsline {subsection}{\numberline {11.10.2}Example}{207}
\contentsline {section}{\numberline {11.11}GETFIELD Get Field Contents}{208}
\contentsline {subsection}{\numberline {11.11.1}Usage}{208}
\contentsline {section}{\numberline {11.12}IMAG Imaginary Function}{208}
\contentsline {subsection}{\numberline {11.12.1}Usage}{208}
\contentsline {subsection}{\numberline {11.12.2}Example}{208}
\contentsline {section}{\numberline {11.13}MAX Maximum Function}{209}
\contentsline {subsection}{\numberline {11.13.1}Usage}{209}
\contentsline {subsection}{\numberline {11.13.2}Function Internals}{209}
\contentsline {subsection}{\numberline {11.13.3}Example}{210}
\contentsline {section}{\numberline {11.14}MEAN Mean Function}{212}
\contentsline {subsection}{\numberline {11.14.1}Usage}{212}
\contentsline {subsection}{\numberline {11.14.2}Function Internals}{212}
\contentsline {subsection}{\numberline {11.14.3}Example}{212}
\contentsline {section}{\numberline {11.15}MIN Minimum Function}{213}
\contentsline {subsection}{\numberline {11.15.1}Usage}{213}
\contentsline {subsection}{\numberline {11.15.2}Function Internals}{214}
\contentsline {subsection}{\numberline {11.15.3}Example}{214}
\contentsline {section}{\numberline {11.16}PROD Product Function}{216}
\contentsline {subsection}{\numberline {11.16.1}Usage}{216}
\contentsline {subsection}{\numberline {11.16.2}Example}{216}
\contentsline {section}{\numberline {11.17}REAL Real Function}{217}
\contentsline {subsection}{\numberline {11.17.1}Usage}{217}
\contentsline {subsection}{\numberline {11.17.2}Example}{217}
\contentsline {section}{\numberline {11.18}ROUND Round Function}{218}
\contentsline {subsection}{\numberline {11.18.1}Usage}{218}
\contentsline {subsection}{\numberline {11.18.2}Example}{218}
\contentsline {section}{\numberline {11.19}STD Standard Deviation Function}{219}
\contentsline {subsection}{\numberline {11.19.1}Usage}{219}
\contentsline {subsection}{\numberline {11.19.2}Example}{219}
\contentsline {section}{\numberline {11.20}SUB2IND Convert Multiple Indexing To Linear Indexing}{220}
\contentsline {subsection}{\numberline {11.20.1}Usage}{220}
\contentsline {subsection}{\numberline {11.20.2}Example}{221}
\contentsline {section}{\numberline {11.21}SUM Sum Function}{221}
\contentsline {subsection}{\numberline {11.21.1}Usage}{221}
\contentsline {subsection}{\numberline {11.21.2}Function Internals}{222}
\contentsline {subsection}{\numberline {11.21.3}Example}{222}
\contentsline {section}{\numberline {11.22}TEST Test Function}{223}
\contentsline {subsection}{\numberline {11.22.1}Usage}{223}
\contentsline {section}{\numberline {11.23}VAR Variance Function}{223}
\contentsline {subsection}{\numberline {11.23.1}Usage}{223}
\contentsline {subsection}{\numberline {11.23.2}Function Internals}{223}
\contentsline {subsection}{\numberline {11.23.3}Example}{223}
\contentsline {section}{\numberline {11.24}VEC Reshape to a Vector}{224}
\contentsline {subsection}{\numberline {11.24.1}Usage}{224}
\contentsline {subsection}{\numberline {11.24.2}Example}{224}
\contentsline {chapter}{\numberline {12}Inspection Functions}{227}
\contentsline {section}{\numberline {12.1}CLEAR Clear or Delete a Variable}{227}
\contentsline {subsection}{\numberline {12.1.1}Usage}{227}
\contentsline {subsection}{\numberline {12.1.2}Example}{228}
\contentsline {section}{\numberline {12.2}EXIST Test for Existence}{228}
\contentsline {subsection}{\numberline {12.2.1}Usage}{228}
\contentsline {subsection}{\numberline {12.2.2}Example}{229}
\contentsline {section}{\numberline {12.3}FIELDNAMES Fieldnames of a Structure}{230}
\contentsline {subsection}{\numberline {12.3.1}Usage}{230}
\contentsline {subsection}{\numberline {12.3.2}Example}{230}
\contentsline {section}{\numberline {12.4}ISA Test Type of Variable}{230}
\contentsline {subsection}{\numberline {12.4.1}Usage}{230}
\contentsline {subsection}{\numberline {12.4.2}Examples}{231}
\contentsline {section}{\numberline {12.5}ISEMPTY Test For Variable Empty}{232}
\contentsline {subsection}{\numberline {12.5.1}Usage}{232}
\contentsline {subsection}{\numberline {12.5.2}Examples}{232}
\contentsline {section}{\numberline {12.6}ISFIELD Test for Existence of a Structure Field}{233}
\contentsline {subsection}{\numberline {12.6.1}Usage}{233}
\contentsline {subsection}{\numberline {12.6.2}Example}{233}
\contentsline {section}{\numberline {12.7}ISHANDLE Test for Graphics Handle}{234}
\contentsline {subsection}{\numberline {12.7.1}Usage}{234}
\contentsline {section}{\numberline {12.8}ISINF Test for infinities}{234}
\contentsline {subsection}{\numberline {12.8.1}Usage}{234}
\contentsline {subsection}{\numberline {12.8.2}Example}{234}
\contentsline {section}{\numberline {12.9}ISNAN Test for Not-a-Numbers}{235}
\contentsline {subsection}{\numberline {12.9.1}Usage}{235}
\contentsline {subsection}{\numberline {12.9.2}Example}{235}
\contentsline {section}{\numberline {12.10}ISSET Test If Variable Set}{235}
\contentsline {subsection}{\numberline {12.10.1}Usage}{235}
\contentsline {subsection}{\numberline {12.10.2}Example}{236}
\contentsline {section}{\numberline {12.11}ISSPARSE Test for Sparse Matrix}{236}
\contentsline {subsection}{\numberline {12.11.1}Usage}{236}
\contentsline {subsection}{\numberline {12.11.2}Example}{236}
\contentsline {section}{\numberline {12.12}SIZE Size of a Variable}{237}
\contentsline {subsection}{\numberline {12.12.1}Usage}{237}
\contentsline {subsection}{\numberline {12.12.2}Example}{237}
\contentsline {section}{\numberline {12.13}WHERE Get Information on Program Stack}{237}
\contentsline {subsection}{\numberline {12.13.1}Usage}{237}
\contentsline {subsection}{\numberline {12.13.2}Example}{238}
\contentsline {section}{\numberline {12.14}WHICH Get Information on Function}{238}
\contentsline {subsection}{\numberline {12.14.1}Usage}{238}
\contentsline {subsection}{\numberline {12.14.2}Example}{239}
\contentsline {section}{\numberline {12.15}WHO Describe Currently Defined Variables}{239}
\contentsline {subsection}{\numberline {12.15.1}Usage}{239}
\contentsline {subsection}{\numberline {12.15.2}Example}{240}
\contentsline {chapter}{\numberline {13}Type Cast Functions}{241}
\contentsline {section}{\numberline {13.1}COMPLEX Convert to 32-bit Complex Floating Point}{241}
\contentsline {subsection}{\numberline {13.1.1}Usage}{241}
\contentsline {subsection}{\numberline {13.1.2}Example}{241}
\contentsline {section}{\numberline {13.2}DCOMPLEX Convert to 32-bit Complex Floating Point}{242}
\contentsline {subsection}{\numberline {13.2.1}Usage}{242}
\contentsline {subsection}{\numberline {13.2.2}Example}{242}
\contentsline {section}{\numberline {13.3}DOUBLE Convert to 64-bit Floating Point}{244}
\contentsline {subsection}{\numberline {13.3.1}Usage}{244}
\contentsline {subsection}{\numberline {13.3.2}Example}{244}
\contentsline {section}{\numberline {13.4}FLOAT Convert to 32-bit Floating Point}{245}
\contentsline {subsection}{\numberline {13.4.1}Usage}{245}
\contentsline {subsection}{\numberline {13.4.2}Example}{245}
\contentsline {section}{\numberline {13.5}INT16 Convert to Signed 16-bit Integer}{246}
\contentsline {subsection}{\numberline {13.5.1}Usage}{246}
\contentsline {subsection}{\numberline {13.5.2}Example}{246}
\contentsline {section}{\numberline {13.6}INT32 Convert to Signed 32-bit Integer}{247}
\contentsline {subsection}{\numberline {13.6.1}Usage}{247}
\contentsline {subsection}{\numberline {13.6.2}Example}{248}
\contentsline {section}{\numberline {13.7}INT64 Convert to Signed 64-bit Integer}{249}
\contentsline {subsection}{\numberline {13.7.1}Usage}{249}
\contentsline {subsection}{\numberline {13.7.2}Example}{249}
\contentsline {section}{\numberline {13.8}INT8 Convert to Signed 8-bit Integer}{250}
\contentsline {subsection}{\numberline {13.8.1}Usage}{250}
\contentsline {subsection}{\numberline {13.8.2}Example}{250}
\contentsline {section}{\numberline {13.9}LOGICAL Convert to Logical}{252}
\contentsline {subsection}{\numberline {13.9.1}Usage}{252}
\contentsline {subsection}{\numberline {13.9.2}Example}{252}
\contentsline {section}{\numberline {13.10}SINGLE Convert to 32-bit Floating Point}{252}
\contentsline {subsection}{\numberline {13.10.1}Usage}{252}
\contentsline {section}{\numberline {13.11}STRING Convert Array to String}{252}
\contentsline {subsection}{\numberline {13.11.1}Usage}{252}
\contentsline {subsection}{\numberline {13.11.2}Example}{253}
\contentsline {section}{\numberline {13.12}TYPEOF Determine the Type of an Argument}{253}
\contentsline {subsection}{\numberline {13.12.1}Usage}{253}
\contentsline {subsection}{\numberline {13.12.2}Example}{254}
\contentsline {section}{\numberline {13.13}UINT16 Convert to Unsigned 16-bit Integer}{255}
\contentsline {subsection}{\numberline {13.13.1}Usage}{255}
\contentsline {subsection}{\numberline {13.13.2}Example}{256}
\contentsline {section}{\numberline {13.14}UINT32 Convert to Unsigned 32-bit Integer}{257}
\contentsline {subsection}{\numberline {13.14.1}Usage}{257}
\contentsline {subsection}{\numberline {13.14.2}Example}{257}
\contentsline {section}{\numberline {13.15}UINT64 Convert to Unsigned 64-bit Integer}{258}
\contentsline {subsection}{\numberline {13.15.1}Usage}{258}
\contentsline {subsection}{\numberline {13.15.2}Example}{259}
\contentsline {section}{\numberline {13.16}UINT8 Convert to Unsigned 8-bit Integer}{260}
\contentsline {subsection}{\numberline {13.16.1}Usage}{260}
\contentsline {subsection}{\numberline {13.16.2}Example}{260}
\contentsline {chapter}{\numberline {14}Array Generation and Manipulations}{263}
\contentsline {section}{\numberline {14.1}ASSIGN Making assignments}{263}
\contentsline {subsection}{\numberline {14.1.1}Usage}{263}
\contentsline {section}{\numberline {14.2}BIN2DEC Convert Binary String to Decimal}{264}
\contentsline {subsection}{\numberline {14.2.1}USAGE}{264}
\contentsline {subsection}{\numberline {14.2.2}Example}{264}
\contentsline {section}{\numberline {14.3}BIN2INT Convert Binary Arrays to Integer}{264}
\contentsline {subsection}{\numberline {14.3.1}Usage}{264}
\contentsline {subsection}{\numberline {14.3.2}Example}{264}
\contentsline {section}{\numberline {14.4}CAST Typecast Variable to Specified Type}{266}
\contentsline {subsection}{\numberline {14.4.1}Usage}{266}
\contentsline {subsection}{\numberline {14.4.2}Example}{267}
\contentsline {section}{\numberline {14.5}CELL Cell Array of Empty Matrices}{267}
\contentsline {subsection}{\numberline {14.5.1}Usage}{267}
\contentsline {subsection}{\numberline {14.5.2}Example}{268}
\contentsline {section}{\numberline {14.6}CHAR Convert to character array or string}{269}
\contentsline {subsection}{\numberline {14.6.1}Usage}{269}
\contentsline {subsection}{\numberline {14.6.2}Example}{269}
\contentsline {section}{\numberline {14.7}CIRCSHIFT Circularly Shift an Array}{270}
\contentsline {subsection}{\numberline {14.7.1}USAGE}{270}
\contentsline {subsection}{\numberline {14.7.2}Example}{270}
\contentsline {section}{\numberline {14.8}COND Condition Number of a Matrix}{274}
\contentsline {subsection}{\numberline {14.8.1}Usage}{274}
\contentsline {subsection}{\numberline {14.8.2}Function Internals}{274}
\contentsline {subsection}{\numberline {14.8.3}Example}{274}
\contentsline {section}{\numberline {14.9}DEC2BIN Convert Decimal to Binary String}{275}
\contentsline {subsection}{\numberline {14.9.1}USAGE}{275}
\contentsline {subsection}{\numberline {14.9.2}Example}{275}
\contentsline {section}{\numberline {14.10}DET Determinant of a Matrix}{276}
\contentsline {subsection}{\numberline {14.10.1}Usage}{276}
\contentsline {subsection}{\numberline {14.10.2}Function Internals}{276}
\contentsline {subsection}{\numberline {14.10.3}Example}{276}
\contentsline {section}{\numberline {14.11}DIAG Diagonal Matrix Construction/Extraction}{277}
\contentsline {subsection}{\numberline {14.11.1}Usage}{277}
\contentsline {subsection}{\numberline {14.11.2}Examples}{277}
\contentsline {section}{\numberline {14.12}EXPM Matrix Exponential}{278}
\contentsline {subsection}{\numberline {14.12.1}Usage}{278}
\contentsline {subsection}{\numberline {14.12.2}Example}{278}
\contentsline {section}{\numberline {14.13}EYE Identity Matrix}{279}
\contentsline {subsection}{\numberline {14.13.1}USAGE}{279}
\contentsline {subsection}{\numberline {14.13.2}Example}{279}
\contentsline {section}{\numberline {14.14}FIND Find Non-zero Elements of An Array}{279}
\contentsline {subsection}{\numberline {14.14.1}Usage}{279}
\contentsline {subsection}{\numberline {14.14.2}Example}{280}
\contentsline {section}{\numberline {14.15}FLIPDIM Reverse a Matrix Along a Given Dimension}{283}
\contentsline {subsection}{\numberline {14.15.1}USAGE}{283}
\contentsline {subsection}{\numberline {14.15.2}Example}{283}
\contentsline {section}{\numberline {14.16}FLIPLR Reverse the Columns of a Matrix}{285}
\contentsline {subsection}{\numberline {14.16.1}USAGE}{285}
\contentsline {subsection}{\numberline {14.16.2}Example}{285}
\contentsline {section}{\numberline {14.17}FLIPUD Reverse the Columns of a Matrix}{287}
\contentsline {subsection}{\numberline {14.17.1}USAGE}{287}
\contentsline {subsection}{\numberline {14.17.2}Example}{287}
\contentsline {section}{\numberline {14.18}INT2BIN Convert Integer Arrays to Binary}{289}
\contentsline {subsection}{\numberline {14.18.1}Usage}{289}
\contentsline {subsection}{\numberline {14.18.2}Example}{289}
\contentsline {section}{\numberline {14.19}IPERMUTE Array Inverse Permutation Function}{290}
\contentsline {subsection}{\numberline {14.19.1}Usage}{290}
\contentsline {subsection}{\numberline {14.19.2}Example}{290}
\contentsline {section}{\numberline {14.20}ISCELL Test For Cell Array}{291}
\contentsline {subsection}{\numberline {14.20.1}Usage}{291}
\contentsline {subsection}{\numberline {14.20.2}Example}{291}
\contentsline {section}{\numberline {14.21}ISCELLSTR Test For Cell Array of Strings}{291}
\contentsline {subsection}{\numberline {14.21.1}Usage}{291}
\contentsline {subsection}{\numberline {14.21.2}Example}{292}
\contentsline {section}{\numberline {14.22}ISCHAR Test For Character Array (string)}{292}
\contentsline {subsection}{\numberline {14.22.1}Usage}{292}
\contentsline {section}{\numberline {14.23}ISINTTYPE Test For Integer-type Array}{292}
\contentsline {subsection}{\numberline {14.23.1}Usage}{292}
\contentsline {section}{\numberline {14.24}ISLOGICAL Test for Logical Array}{293}
\contentsline {subsection}{\numberline {14.24.1}Usage}{293}
\contentsline {section}{\numberline {14.25}ISNUMERIC Test for Numeric Array}{293}
\contentsline {subsection}{\numberline {14.25.1}Usage}{293}
\contentsline {section}{\numberline {14.26}ISREAL Test For Real Array}{293}
\contentsline {subsection}{\numberline {14.26.1}Usage}{293}
\contentsline {section}{\numberline {14.27}ISSCALAR Test For Scalar}{293}
\contentsline {subsection}{\numberline {14.27.1}Usage}{293}
\contentsline {section}{\numberline {14.28}ISSTR Test For Character Array (string)}{293}
\contentsline {subsection}{\numberline {14.28.1}Usage}{293}
\contentsline {section}{\numberline {14.29}ISSTRUCT Test For Structure Array}{294}
\contentsline {subsection}{\numberline {14.29.1}Usage}{294}
\contentsline {section}{\numberline {14.30}ISVECTOR Test For a Vector}{294}
\contentsline {subsection}{\numberline {14.30.1}Usage}{294}
\contentsline {section}{\numberline {14.31}LENGTH Length of an Array}{294}
\contentsline {subsection}{\numberline {14.31.1}Usage}{294}
\contentsline {subsection}{\numberline {14.31.2}Example}{294}
\contentsline {section}{\numberline {14.32}LINSPACE Linearly Spaced Vector}{294}
\contentsline {subsection}{\numberline {14.32.1}Usage}{294}
\contentsline {subsection}{\numberline {14.32.2}Examples}{295}
\contentsline {section}{\numberline {14.33}NDGRID Generate N-Dimensional Grid}{295}
\contentsline {subsection}{\numberline {14.33.1}Usage}{295}
\contentsline {subsection}{\numberline {14.33.2}Example}{295}
\contentsline {section}{\numberline {14.34}NDIMS Number of Dimensions in Array}{298}
\contentsline {subsection}{\numberline {14.34.1}Usage}{298}
\contentsline {section}{\numberline {14.35}NONZEROS Retrieve Nonzero Matrix Entries}{298}
\contentsline {subsection}{\numberline {14.35.1}USAGE}{298}
\contentsline {subsection}{\numberline {14.35.2}Example}{298}
\contentsline {section}{\numberline {14.36}NORM Norm Calculation}{299}
\contentsline {subsection}{\numberline {14.36.1}Usage}{299}
\contentsline {subsection}{\numberline {14.36.2}Examples}{300}
\contentsline {section}{\numberline {14.37}NUMEL Number of Elements in an Array}{301}
\contentsline {subsection}{\numberline {14.37.1}Usage}{301}
\contentsline {subsection}{\numberline {14.37.2}Example}{301}
\contentsline {section}{\numberline {14.38}ONES Array of Ones}{302}
\contentsline {subsection}{\numberline {14.38.1}Usage}{302}
\contentsline {subsection}{\numberline {14.38.2}Example}{302}
\contentsline {section}{\numberline {14.39}PERMUTE Array Permutation Function}{304}
\contentsline {subsection}{\numberline {14.39.1}Usage}{304}
\contentsline {subsection}{\numberline {14.39.2}Example}{304}
\contentsline {section}{\numberline {14.40}PINV Moore-Penrose Pseudoinverse}{305}
\contentsline {subsection}{\numberline {14.40.1}Usage}{305}
\contentsline {subsection}{\numberline {14.40.2}Function Internals}{305}
\contentsline {subsection}{\numberline {14.40.3}Examples}{306}
\contentsline {section}{\numberline {14.41}RANK Calculate the Rank of a Matrix}{308}
\contentsline {subsection}{\numberline {14.41.1}Usage}{308}
\contentsline {subsection}{\numberline {14.41.2}Examples}{308}
\contentsline {section}{\numberline {14.42}RCOND Reciprocal Condition Number Estimate}{309}
\contentsline {subsection}{\numberline {14.42.1}Usage}{309}
\contentsline {subsection}{\numberline {14.42.2}Example}{309}
\contentsline {section}{\numberline {14.43}REPMAT Array Replication Function}{309}
\contentsline {subsection}{\numberline {14.43.1}Usage}{309}
\contentsline {subsection}{\numberline {14.43.2}Example}{310}
\contentsline {section}{\numberline {14.44}RESHAPE Reshape An Array}{311}
\contentsline {subsection}{\numberline {14.44.1}Usage}{311}
\contentsline {subsection}{\numberline {14.44.2}Example}{311}
\contentsline {section}{\numberline {14.45}RESIZE Resizing an Array}{313}
\contentsline {subsection}{\numberline {14.45.1}Usage}{313}
\contentsline {section}{\numberline {14.46}SHIFTDIM Shift Array Dimensions Function}{313}
\contentsline {subsection}{\numberline {14.46.1}Usage}{313}
\contentsline {subsection}{\numberline {14.46.2}Example}{313}
\contentsline {section}{\numberline {14.47}SORT Sort }{315}
\contentsline {subsection}{\numberline {14.47.1}Usage}{315}
\contentsline {subsection}{\numberline {14.47.2}Example}{315}
\contentsline {section}{\numberline {14.48}SQUEEZE Remove Singleton Dimensions of an Array}{317}
\contentsline {subsection}{\numberline {14.48.1}Usage}{317}
\contentsline {subsection}{\numberline {14.48.2}Example}{317}
\contentsline {section}{\numberline {14.49}TRANSPOSE Matrix Transpose }{318}
\contentsline {subsection}{\numberline {14.49.1}Usage}{318}
\contentsline {subsection}{\numberline {14.49.2}Example}{318}
\contentsline {section}{\numberline {14.50}UNIQUE Unique}{318}
\contentsline {subsection}{\numberline {14.50.1}Usage}{318}
\contentsline {subsection}{\numberline {14.50.2}Example}{319}
\contentsline {section}{\numberline {14.51}XNRM2 BLAS Norm Calculation}{323}
\contentsline {subsection}{\numberline {14.51.1}Usage}{323}
\contentsline {section}{\numberline {14.52}ZEROS Array of Zeros}{323}
\contentsline {subsection}{\numberline {14.52.1}Usage}{323}
\contentsline {subsection}{\numberline {14.52.2}Example}{324}
\contentsline {chapter}{\numberline {15}Random Number Generation}{327}
\contentsline {section}{\numberline {15.1}RAND Uniform Random Number Generator}{327}
\contentsline {subsection}{\numberline {15.1.1}Usage}{327}
\contentsline {subsection}{\numberline {15.1.2}Example}{328}
\contentsline {section}{\numberline {15.2}RANDBETA Beta Deviate Random Number Generator}{329}
\contentsline {subsection}{\numberline {15.2.1}Usage}{329}
\contentsline {subsection}{\numberline {15.2.2}Function Internals}{329}
\contentsline {subsection}{\numberline {15.2.3}Example}{330}
\contentsline {section}{\numberline {15.3}RANDBIN Generate Binomial Random Variables}{330}
\contentsline {subsection}{\numberline {15.3.1}Usage}{330}
\contentsline {subsection}{\numberline {15.3.2}Function Internals}{331}
\contentsline {subsection}{\numberline {15.3.3}Example}{331}
\contentsline {section}{\numberline {15.4}RANDCHI Generate Chi-Square Random Variable}{331}
\contentsline {subsection}{\numberline {15.4.1}Usage}{331}
\contentsline {subsection}{\numberline {15.4.2}Function Internals}{331}
\contentsline {subsection}{\numberline {15.4.3}Example}{332}
\contentsline {section}{\numberline {15.5}RANDEXP Generate Exponential Random Variable}{332}
\contentsline {subsection}{\numberline {15.5.1}Usage}{332}
\contentsline {subsection}{\numberline {15.5.2}Function Internals}{333}
\contentsline {subsection}{\numberline {15.5.3}Example}{333}
\contentsline {section}{\numberline {15.6}RANDF Generate F-Distributed Random Variable}{333}
\contentsline {subsection}{\numberline {15.6.1}Usage}{333}
\contentsline {subsection}{\numberline {15.6.2}Function Internals}{333}
\contentsline {subsection}{\numberline {15.6.3}Example}{334}
\contentsline {section}{\numberline {15.7}RANDGAMMA Generate Gamma-Distributed Random Variable}{334}
\contentsline {subsection}{\numberline {15.7.1}Usage}{334}
\contentsline {subsection}{\numberline {15.7.2}Function Internals}{334}
\contentsline {subsection}{\numberline {15.7.3}Example}{335}
\contentsline {section}{\numberline {15.8}RANDI Uniformly Distributed Integer}{335}
\contentsline {subsection}{\numberline {15.8.1}Usage}{335}
\contentsline {subsection}{\numberline {15.8.2}Example}{335}
\contentsline {section}{\numberline {15.9}RANDMULTI Generate Multinomial-distributed Random Variables}{336}
\contentsline {subsection}{\numberline {15.9.1}Usage}{336}
\contentsline {subsection}{\numberline {15.9.2}Function Internals}{336}
\contentsline {subsection}{\numberline {15.9.3}Example}{336}
\contentsline {section}{\numberline {15.10}RANDN Gaussian (Normal) Random Number Generator}{336}
\contentsline {subsection}{\numberline {15.10.1}Usage}{336}
\contentsline {subsection}{\numberline {15.10.2}Function Internals}{337}
\contentsline {subsection}{\numberline {15.10.3}Example}{337}
\contentsline {section}{\numberline {15.11}RANDNBIN Generate Negative Binomial Random Variables}{339}
\contentsline {subsection}{\numberline {15.11.1}Usage}{339}
\contentsline {subsection}{\numberline {15.11.2}Function Internals}{339}
\contentsline {subsection}{\numberline {15.11.3}Example}{339}
\contentsline {section}{\numberline {15.12}RANDNCHI Generate Noncentral Chi-Square Random Variable}{340}
\contentsline {subsection}{\numberline {15.12.1}Usage}{340}
\contentsline {subsection}{\numberline {15.12.2}Function Internals}{340}
\contentsline {subsection}{\numberline {15.12.3}Examples}{340}
\contentsline {section}{\numberline {15.13}RANDNF Generate Noncentral F-Distribution Random Variable}{341}
\contentsline {subsection}{\numberline {15.13.1}Usage}{341}
\contentsline {subsection}{\numberline {15.13.2}Function Internals}{341}
\contentsline {subsection}{\numberline {15.13.3}Example}{341}
\contentsline {section}{\numberline {15.14}RANDP Generate Poisson Random Variable}{341}
\contentsline {subsection}{\numberline {15.14.1}Usage}{341}
\contentsline {subsection}{\numberline {15.14.2}Function Internals}{342}
\contentsline {subsection}{\numberline {15.14.3}Example}{342}
\contentsline {section}{\numberline {15.15}SEED Seed the Random Number Generator}{342}
\contentsline {subsection}{\numberline {15.15.1}Usage}{342}
\contentsline {subsection}{\numberline {15.15.2}Example}{342}
\contentsline {chapter}{\numberline {16}Input/Ouput Functions}{345}
\contentsline {section}{\numberline {16.1}CSVREAD Read Comma Separated Value (CSV) File}{345}
\contentsline {subsection}{\numberline {16.1.1}Usage}{345}
\contentsline {subsection}{\numberline {16.1.2}Example}{345}
\contentsline {section}{\numberline {16.2}CSVWRITE Write Comma Separated Value (CSV) File}{347}
\contentsline {subsection}{\numberline {16.2.1}Usage}{347}
\contentsline {subsection}{\numberline {16.2.2}Example}{347}
\contentsline {section}{\numberline {16.3}DISP Display a Variable or Expression}{348}
\contentsline {subsection}{\numberline {16.3.1}Usage}{348}
\contentsline {subsection}{\numberline {16.3.2}Example}{348}
\contentsline {section}{\numberline {16.4}FCLOSE File Close Function}{348}
\contentsline {subsection}{\numberline {16.4.1}Usage}{348}
\contentsline {subsection}{\numberline {16.4.2}Example}{349}
\contentsline {section}{\numberline {16.5}FEOF End Of File Function}{349}
\contentsline {subsection}{\numberline {16.5.1}Usage}{349}
\contentsline {subsection}{\numberline {16.5.2}Example}{349}
\contentsline {section}{\numberline {16.6}FGETLINE Read a String from a File}{350}
\contentsline {subsection}{\numberline {16.6.1}Usage}{350}
\contentsline {subsection}{\numberline {16.6.2}Example}{350}
\contentsline {section}{\numberline {16.7}FOPEN File Open Function}{350}
\contentsline {subsection}{\numberline {16.7.1}Usage}{350}
\contentsline {subsection}{\numberline {16.7.2}Examples}{351}
\contentsline {section}{\numberline {16.8}FPRINTF Formated File Output Function (C-Style)}{353}
\contentsline {subsection}{\numberline {16.8.1}Usage}{353}
\contentsline {subsection}{\numberline {16.8.2}Examples}{353}
\contentsline {section}{\numberline {16.9}FREAD File Read Function}{353}
\contentsline {subsection}{\numberline {16.9.1}Usage}{353}
\contentsline {subsection}{\numberline {16.9.2}Example}{354}
\contentsline {section}{\numberline {16.10}FSCANF Formatted File Input Function (C-Style)}{355}
\contentsline {subsection}{\numberline {16.10.1}Usage}{355}
\contentsline {section}{\numberline {16.11}FSEEK Seek File To A Given Position}{355}
\contentsline {subsection}{\numberline {16.11.1}Usage}{355}
\contentsline {subsection}{\numberline {16.11.2}Example}{355}
\contentsline {section}{\numberline {16.12}FTELL File Position Function}{356}
\contentsline {subsection}{\numberline {16.12.1}Usage}{356}
\contentsline {subsection}{\numberline {16.12.2}Example}{356}
\contentsline {section}{\numberline {16.13}FWRITE File Write Function}{357}
\contentsline {subsection}{\numberline {16.13.1}Usage}{357}
\contentsline {subsection}{\numberline {16.13.2}Example}{357}
\contentsline {section}{\numberline {16.14}GETLINE Get a Line of Input from User}{357}
\contentsline {subsection}{\numberline {16.14.1}Usage}{357}
\contentsline {section}{\numberline {16.15}GETPRINTLIMIT Get Limit For Printing Of Arrays}{358}
\contentsline {subsection}{\numberline {16.15.1}Usage}{358}
\contentsline {subsection}{\numberline {16.15.2}Example}{358}
\contentsline {section}{\numberline {16.16}HTMLREAD Read an HTML Document into FreeMat}{358}
\contentsline {subsection}{\numberline {16.16.1}Usage}{358}
\contentsline {section}{\numberline {16.17}INPUT Get Input From User}{359}
\contentsline {subsection}{\numberline {16.17.1}Usage}{359}
\contentsline {section}{\numberline {16.18}LOAD Load Variables From A File}{359}
\contentsline {subsection}{\numberline {16.18.1}Usage}{359}
\contentsline {subsection}{\numberline {16.18.2}Example}{359}
\contentsline {section}{\numberline {16.19}PAUSE Pause Script Execution}{360}
\contentsline {subsection}{\numberline {16.19.1}Usage}{360}
\contentsline {section}{\numberline {16.20}PRINTF Formated Output Function (C-Style)}{361}
\contentsline {subsection}{\numberline {16.20.1}Usage}{361}
\contentsline {subsection}{\numberline {16.20.2}Format of the format string}{361}
\contentsline {subsection}{\numberline {16.20.3}The flag characters}{361}
\contentsline {subsection}{\numberline {16.20.4}The field width}{362}
\contentsline {subsection}{\numberline {16.20.5}The precision}{362}
\contentsline {subsection}{\numberline {16.20.6}The conversion specifier}{362}
\contentsline {subsection}{\numberline {16.20.7}Example}{363}
\contentsline {section}{\numberline {16.21}RAWREAD Read N-dimensional Array From File}{363}
\contentsline {subsection}{\numberline {16.21.1}Usage}{363}
\contentsline {section}{\numberline {16.22}SAVE Save Variables To A File}{364}
\contentsline {subsection}{\numberline {16.22.1}Usage}{364}
\contentsline {subsection}{\numberline {16.22.2}Example}{365}
\contentsline {section}{\numberline {16.23}SETPRINTLIMIT Set Limit For Printing Of Arrays}{366}
\contentsline {subsection}{\numberline {16.23.1}Usage}{366}
\contentsline {subsection}{\numberline {16.23.2}Example}{366}
\contentsline {section}{\numberline {16.24}SPRINTF Formated String Output Function (C-Style)}{366}
\contentsline {subsection}{\numberline {16.24.1}Usage}{366}
\contentsline {subsection}{\numberline {16.24.2}Examples}{367}
\contentsline {section}{\numberline {16.25}SSCANF Formated String Input Function (C-Style)}{367}
\contentsline {subsection}{\numberline {16.25.1}Usage}{367}
\contentsline {section}{\numberline {16.26}STR2NUM Convert a String to a Number}{367}
\contentsline {subsection}{\numberline {16.26.1}Usage}{367}
\contentsline {section}{\numberline {16.27}URLWRITE Retrieve a URL into a File}{367}
\contentsline {subsection}{\numberline {16.27.1}Usage}{367}
\contentsline {section}{\numberline {16.28}XMLREAD Read an XML Document into FreeMat}{368}
\contentsline {subsection}{\numberline {16.28.1}Usage}{368}
\contentsline {chapter}{\numberline {17}String Functions}{369}
\contentsline {section}{\numberline {17.1}CELLSTR Convert character array to cell array of strings}{369}
\contentsline {subsection}{\numberline {17.1.1}Usage}{369}
\contentsline {subsection}{\numberline {17.1.2}Example}{369}
\contentsline {section}{\numberline {17.2}DEBLANK Remove trailing blanks from a string}{370}
\contentsline {subsection}{\numberline {17.2.1}Usage}{370}
\contentsline {subsection}{\numberline {17.2.2}Example}{370}
\contentsline {section}{\numberline {17.3}ISALPHA Test for Alpha Characters in a String}{370}
\contentsline {subsection}{\numberline {17.3.1}Usage}{370}
\contentsline {subsection}{\numberline {17.3.2}Example}{371}
\contentsline {section}{\numberline {17.4}ISDIGIT Test for Digit Characters in a String}{371}
\contentsline {subsection}{\numberline {17.4.1}Usage}{371}
\contentsline {subsection}{\numberline {17.4.2}Example}{371}
\contentsline {section}{\numberline {17.5}ISSPACE Test for Space Characters in a String}{371}
\contentsline {subsection}{\numberline {17.5.1}Usage}{371}
\contentsline {subsection}{\numberline {17.5.2}Example}{372}
\contentsline {section}{\numberline {17.6}LOWER Convert strings to lower case}{372}
\contentsline {subsection}{\numberline {17.6.1}Usage}{372}
\contentsline {subsection}{\numberline {17.6.2}Example}{372}
\contentsline {section}{\numberline {17.7}REGEXP Regular Expression Matching Function}{373}
\contentsline {subsection}{\numberline {17.7.1}Usage}{373}
\contentsline {subsection}{\numberline {17.7.2}Example}{374}
\contentsline {section}{\numberline {17.8}REGEXPREP Regular Expression Replacement Function}{375}
\contentsline {subsection}{\numberline {17.8.1}Usage}{375}
\contentsline {section}{\numberline {17.9}STRCMP String Compare Function}{375}
\contentsline {subsection}{\numberline {17.9.1}USAGE}{375}
\contentsline {subsection}{\numberline {17.9.2}Example}{376}
\contentsline {section}{\numberline {17.10}STRFIND Find Substring in a String}{377}
\contentsline {subsection}{\numberline {17.10.1}Usage}{377}
\contentsline {subsection}{\numberline {17.10.2}Example}{377}
\contentsline {section}{\numberline {17.11}STRNCMP String Compare Function To Length N }{378}
\contentsline {subsection}{\numberline {17.11.1}USAGE}{378}
\contentsline {subsection}{\numberline {17.11.2}Example}{378}
\contentsline {section}{\numberline {17.12}STRREP String Replace Function}{379}
\contentsline {subsection}{\numberline {17.12.1}Usage}{379}
\contentsline {subsection}{\numberline {17.12.2}Example}{379}
\contentsline {section}{\numberline {17.13}STRSTR String Search Function}{380}
\contentsline {subsection}{\numberline {17.13.1}Usage}{380}
\contentsline {subsection}{\numberline {17.13.2}Example}{380}
\contentsline {section}{\numberline {17.14}STRTRIM Trim Spaces from a String}{381}
\contentsline {subsection}{\numberline {17.14.1}Usage}{381}
\contentsline {subsection}{\numberline {17.14.2}Example}{381}
\contentsline {section}{\numberline {17.15}UPPER Convert strings to upper case}{381}
\contentsline {subsection}{\numberline {17.15.1}Usage}{381}
\contentsline {subsection}{\numberline {17.15.2}Example}{382}
\contentsline {chapter}{\numberline {18}Transforms/Decompositions}{383}
\contentsline {section}{\numberline {18.1}EIG Eigendecomposition of a Matrix}{383}
\contentsline {subsection}{\numberline {18.1.1}Usage}{383}
\contentsline {subsection}{\numberline {18.1.2}Function Internals}{384}
\contentsline {subsection}{\numberline {18.1.3}Example}{384}
\contentsline {section}{\numberline {18.2}FFT (Inverse) Fast Fourier Transform Function}{388}
\contentsline {subsection}{\numberline {18.2.1}Usage}{388}
\contentsline {subsection}{\numberline {18.2.2}Function Internals}{388}
\contentsline {subsection}{\numberline {18.2.3}Example}{389}
\contentsline {section}{\numberline {18.3}FFTN N-Dimensional Forward FFT }{390}
\contentsline {subsection}{\numberline {18.3.1}Usage}{390}
\contentsline {section}{\numberline {18.4}FFTSHIFT Shift FFT Output}{391}
\contentsline {subsection}{\numberline {18.4.1}Usage}{391}
\contentsline {section}{\numberline {18.5}IFFTN N-Dimensional Inverse FFT }{391}
\contentsline {subsection}{\numberline {18.5.1}Usage}{391}
\contentsline {section}{\numberline {18.6}IFFTSHIFT Inverse Shift FFT Output}{391}
\contentsline {subsection}{\numberline {18.6.1}Usage}{391}
\contentsline {section}{\numberline {18.7}INV Invert Matrix}{392}
\contentsline {subsection}{\numberline {18.7.1}Usage}{392}
\contentsline {subsection}{\numberline {18.7.2}Example}{392}
\contentsline {section}{\numberline {18.8}LU LU Decomposition for Matrices}{393}
\contentsline {subsection}{\numberline {18.8.1}Usage}{393}
\contentsline {subsection}{\numberline {18.8.2}Example}{393}
\contentsline {section}{\numberline {18.9}QR QR Decomposition of a Matrix}{395}
\contentsline {subsection}{\numberline {18.9.1}Usage}{395}
\contentsline {section}{\numberline {18.10}SVD Singular Value Decomposition of a Matrix}{396}
\contentsline {subsection}{\numberline {18.10.1}Usage}{396}
\contentsline {subsection}{\numberline {18.10.2}Function Internals}{397}
\contentsline {subsection}{\numberline {18.10.3}Examples}{397}
\contentsline {chapter}{\numberline {19}Signal Processing Functions}{399}
\contentsline {section}{\numberline {19.1}CONV Convolution Function}{399}
\contentsline {subsection}{\numberline {19.1.1}Usage}{399}
\contentsline {section}{\numberline {19.2}CONV2 Matrix Convolution}{399}
\contentsline {subsection}{\numberline {19.2.1}Usage}{399}
\contentsline {subsection}{\numberline {19.2.2}Function Internals}{400}
\contentsline {chapter}{\numberline {20}Operating System Functions}{401}
\contentsline {section}{\numberline {20.1}CD Change Working Directory Function}{401}
\contentsline {subsection}{\numberline {20.1.1}Usage}{401}
\contentsline {subsection}{\numberline {20.1.2}Example}{401}
\contentsline {section}{\numberline {20.2}COPYFILE Copy Files}{402}
\contentsline {subsection}{\numberline {20.2.1}Usage}{402}
\contentsline {section}{\numberline {20.3}DELETE Delete a File}{403}
\contentsline {subsection}{\numberline {20.3.1}Usage}{403}
\contentsline {section}{\numberline {20.4}DIR List Files Function}{403}
\contentsline {subsection}{\numberline {20.4.1}Usage}{403}
\contentsline {section}{\numberline {20.5}DIRSEP Director Seperator}{404}
\contentsline {subsection}{\numberline {20.5.1}Usage}{404}
\contentsline {section}{\numberline {20.6}FILEPARTS Extract Filename Parts}{404}
\contentsline {subsection}{\numberline {20.6.1}Usage}{404}
\contentsline {section}{\numberline {20.7}FULLFILE Build a Full Filename From Pieces}{404}
\contentsline {subsection}{\numberline {20.7.1}Usage}{404}
\contentsline {subsection}{\numberline {20.7.2}Example}{404}
\contentsline {section}{\numberline {20.8}GETPATH Get Current Search Path}{404}
\contentsline {subsection}{\numberline {20.8.1}Usage}{404}
\contentsline {subsection}{\numberline {20.8.2}Example}{405}
\contentsline {section}{\numberline {20.9}LS List Files Function}{405}
\contentsline {subsection}{\numberline {20.9.1}Usage}{405}
\contentsline {subsection}{\numberline {20.9.2}Example}{406}
\contentsline {section}{\numberline {20.10}MKDIR Make Directory}{406}
\contentsline {subsection}{\numberline {20.10.1}Usage}{406}
\contentsline {section}{\numberline {20.11}PWD Print Working Directory Function}{406}
\contentsline {subsection}{\numberline {20.11.1}Usage}{406}
\contentsline {subsection}{\numberline {20.11.2}Example}{407}
\contentsline {section}{\numberline {20.12}RMDIR Remove Directory}{407}
\contentsline {subsection}{\numberline {20.12.1}Usage}{407}
\contentsline {section}{\numberline {20.13}SETPATH Set Current Search Path}{407}
\contentsline {subsection}{\numberline {20.13.1}Usage}{407}
\contentsline {section}{\numberline {20.14}SYSTEM Call an External Program}{408}
\contentsline {subsection}{\numberline {20.14.1}Usage}{408}
\contentsline {subsection}{\numberline {20.14.2}Example}{408}
\contentsline {chapter}{\numberline {21}Optimization and Curve Fitting}{409}
\contentsline {section}{\numberline {21.1}FITFUN Fit a Function}{409}
\contentsline {subsection}{\numberline {21.1.1}Usage}{409}
\contentsline {section}{\numberline {21.2}GAUSFIT Gaussian Curve Fit}{409}
\contentsline {subsection}{\numberline {21.2.1}Usage}{409}
\contentsline {subsection}{\numberline {21.2.2}Example}{410}
\contentsline {section}{\numberline {21.3}INTERPLIN1 Linear 1-D Interpolation}{411}
\contentsline {subsection}{\numberline {21.3.1}Usage}{411}
\contentsline {subsection}{\numberline {21.3.2}Example}{411}
\contentsline {section}{\numberline {21.4}POLYFIT Fit Polynomial To Data}{412}
\contentsline {subsection}{\numberline {21.4.1}Usage}{412}
\contentsline {subsection}{\numberline {21.4.2}Function Internals}{413}
\contentsline {subsection}{\numberline {21.4.3}Example}{413}
\contentsline {section}{\numberline {21.5}POLYVAL Evaluate Polynomial Fit at Selected Points}{415}
\contentsline {subsection}{\numberline {21.5.1}Usage}{415}
\contentsline {subsection}{\numberline {21.5.2}Function Internals}{415}
\contentsline {subsection}{\numberline {21.5.3}Example}{415}
\contentsline {section}{\numberline {21.6}ROOTS Find Roots of Polynomial}{416}
\contentsline {subsection}{\numberline {21.6.1}Usage}{416}
\contentsline {subsection}{\numberline {21.6.2}Function Internals}{416}
\contentsline {subsection}{\numberline {21.6.3}Example}{416}
\contentsline {chapter}{\numberline {22}MPI Functions}{417}
\contentsline {section}{\numberline {22.1}MPIRUN MPI Process Run}{417}
\contentsline {subsection}{\numberline {22.1.1}Usage}{417}
\contentsline {section}{\numberline {22.2}MPISERVER MPI Process Server}{417}
\contentsline {subsection}{\numberline {22.2.1}Usage}{417}
\contentsline {chapter}{\numberline {23}Handle-Based Graphics}{419}
\contentsline {section}{\numberline {23.1}AXES Create Handle Axes}{419}
\contentsline {subsection}{\numberline {23.1.1}Usage}{419}
\contentsline {section}{\numberline {23.2}AXIS Setup Axis Behavior}{419}
\contentsline {subsection}{\numberline {23.2.1}Usage}{419}
\contentsline {section}{\numberline {23.3}AXISPROPERTIES Axis Object Properties}{421}
\contentsline {subsection}{\numberline {23.3.1}Usage}{421}
\contentsline {section}{\numberline {23.4}CLA Clear Current Axis}{427}
\contentsline {subsection}{\numberline {23.4.1}Usage}{427}
\contentsline {section}{\numberline {23.5}CLF Clear Figure}{427}
\contentsline {subsection}{\numberline {23.5.1}Usage}{427}
\contentsline {section}{\numberline {23.6}CLIM Adjust Color limits of plot}{427}
\contentsline {subsection}{\numberline {23.6.1}Usage}{427}
\contentsline {subsection}{\numberline {23.6.2}Example}{428}
\contentsline {section}{\numberline {23.7}CLOSE Close Figure Window}{429}
\contentsline {subsection}{\numberline {23.7.1}Usage}{429}
\contentsline {section}{\numberline {23.8}COLORBAR Add Colorbar to Current Plot}{429}
\contentsline {subsection}{\numberline {23.8.1}Usage}{429}
\contentsline {section}{\numberline {23.9}COLORMAP Image Colormap Function}{429}
\contentsline {subsection}{\numberline {23.9.1}Usage}{429}
\contentsline {subsection}{\numberline {23.9.2}Function Internals}{430}
\contentsline {subsection}{\numberline {23.9.3}Examples}{430}
\contentsline {section}{\numberline {23.10}COLORSPEC Color Property Description}{433}
\contentsline {subsection}{\numberline {23.10.1}Usage}{433}
\contentsline {section}{\numberline {23.11}COPPER Copper Colormap}{433}
\contentsline {subsection}{\numberline {23.11.1}Usage}{433}
\contentsline {subsection}{\numberline {23.11.2}Example}{434}
\contentsline {section}{\numberline {23.12}COPY Copy Figure Window}{434}
\contentsline {subsection}{\numberline {23.12.1}Usage}{434}
\contentsline {section}{\numberline {23.13}DRAWNOW Flush the Event Queue}{434}
\contentsline {subsection}{\numberline {23.13.1}Usage}{434}
\contentsline {section}{\numberline {23.14}FIGURE Figure Window Select and Create Function}{435}
\contentsline {subsection}{\numberline {23.14.1}Usage}{435}
\contentsline {section}{\numberline {23.15}FIGUREPROPERTIES Figure Object Properties}{435}
\contentsline {subsection}{\numberline {23.15.1}Usage}{435}
\contentsline {section}{\numberline {23.16}GCA Get Current Axis}{436}
\contentsline {subsection}{\numberline {23.16.1}Usage}{436}
\contentsline {section}{\numberline {23.17}GCF Get Current Figure}{436}
\contentsline {subsection}{\numberline {23.17.1}Usage}{436}
\contentsline {section}{\numberline {23.18}GET Get Object Property}{436}
\contentsline {subsection}{\numberline {23.18.1}Usage}{436}
\contentsline {section}{\numberline {23.19}GRAY Gray Colormap}{436}
\contentsline {subsection}{\numberline {23.19.1}Usage}{436}
\contentsline {subsection}{\numberline {23.19.2}Example}{437}
\contentsline {section}{\numberline {23.20}GRID Plot Grid Toggle Function}{437}
\contentsline {subsection}{\numberline {23.20.1}Usage}{437}
\contentsline {subsection}{\numberline {23.20.2}Example}{438}
\contentsline {section}{\numberline {23.21}HIMAGE Create a image object}{438}
\contentsline {subsection}{\numberline {23.21.1}Usage}{438}
\contentsline {section}{\numberline {23.22}HLINE Create a line object}{439}
\contentsline {subsection}{\numberline {23.22.1}Usage}{439}
\contentsline {section}{\numberline {23.23}HOLD Plot Hold Toggle Function}{439}
\contentsline {subsection}{\numberline {23.23.1}Usage}{439}
\contentsline {subsection}{\numberline {23.23.2}Function Internals}{439}
\contentsline {subsection}{\numberline {23.23.3}Example}{439}
\contentsline {section}{\numberline {23.24}HPOINT Get Point From Window}{440}
\contentsline {subsection}{\numberline {23.24.1}Usage}{440}
\contentsline {section}{\numberline {23.25}HSURFACE Create a surface object}{440}
\contentsline {subsection}{\numberline {23.25.1}Usage}{440}
\contentsline {section}{\numberline {23.26}HTEXT Create a text object}{441}
\contentsline {subsection}{\numberline {23.26.1}Usage}{441}
\contentsline {section}{\numberline {23.27}IMAGE Image Display Function}{441}
\contentsline {subsection}{\numberline {23.27.1}Usage}{441}
\contentsline {subsection}{\numberline {23.27.2}Example}{442}
\contentsline {section}{\numberline {23.28}IMAGEPROPERTIES Image Object Properties}{443}
\contentsline {subsection}{\numberline {23.28.1}Usage}{443}
\contentsline {section}{\numberline {23.29}IS2DVIEW Test Axes For 2D View}{444}
\contentsline {subsection}{\numberline {23.29.1}Usage}{444}
\contentsline {section}{\numberline {23.30}ISHOLD Test Hold Status}{444}
\contentsline {subsection}{\numberline {23.30.1}Usage}{444}
\contentsline {section}{\numberline {23.31}LEGEND Add Legent to Plot}{444}
\contentsline {subsection}{\numberline {23.31.1}Usage}{444}
\contentsline {section}{\numberline {23.32}LINE Line Display Function}{445}
\contentsline {subsection}{\numberline {23.32.1}Usage}{445}
\contentsline {section}{\numberline {23.33}LINEPROPERTIES Line Series Object Properties}{446}
\contentsline {subsection}{\numberline {23.33.1}Usage}{446}
\contentsline {section}{\numberline {23.34}LOGLOG Log-Log Plot Function}{447}
\contentsline {subsection}{\numberline {23.34.1}Usage}{447}
\contentsline {subsection}{\numberline {23.34.2}Example}{447}
\contentsline {section}{\numberline {23.35}NEWPLOT Get Handle For Next Plot}{448}
\contentsline {subsection}{\numberline {23.35.1}Usage}{448}
\contentsline {section}{\numberline {23.36}PLOT Plot Function}{448}
\contentsline {subsection}{\numberline {23.36.1}Usage}{448}
\contentsline {subsection}{\numberline {23.36.2}Example}{450}
\contentsline {section}{\numberline {23.37}PLOT3 Plot 3D Function}{452}
\contentsline {subsection}{\numberline {23.37.1}Usage}{452}
\contentsline {subsection}{\numberline {23.37.2}Example}{452}
\contentsline {section}{\numberline {23.38}POINT Get Axis Position From Mouse Click}{453}
\contentsline {subsection}{\numberline {23.38.1}Usage}{453}
\contentsline {section}{\numberline {23.39}PRINT Print a Figure To A File}{453}
\contentsline {subsection}{\numberline {23.39.1}Usage}{453}
\contentsline {subsection}{\numberline {23.39.2}Example}{454}
\contentsline {section}{\numberline {23.40}PVALID Validate Property Name}{454}
\contentsline {subsection}{\numberline {23.40.1}Usage}{454}
\contentsline {subsection}{\numberline {23.40.2}Example}{455}
\contentsline {section}{\numberline {23.41}SEMILOGX Semilog X Axis Plot Function}{455}
\contentsline {subsection}{\numberline {23.41.1}Usage}{455}
\contentsline {subsection}{\numberline {23.41.2}Example}{455}
\contentsline {section}{\numberline {23.42}SEMILOGY Semilog Y Axis Plot Function}{458}
\contentsline {subsection}{\numberline {23.42.1}Usage}{458}
\contentsline {subsection}{\numberline {23.42.2}Example}{458}
\contentsline {section}{\numberline {23.43}SET Set Object Property}{459}
\contentsline {subsection}{\numberline {23.43.1}Usage}{459}
\contentsline {section}{\numberline {23.44}SIZEFIG Set Size of an Fig Window}{459}
\contentsline {subsection}{\numberline {23.44.1}Usage}{459}
\contentsline {section}{\numberline {23.45}SUBPLOT Subplot Function}{460}
\contentsline {subsection}{\numberline {23.45.1}Usage}{460}
\contentsline {subsection}{\numberline {23.45.2}Example}{460}
\contentsline {section}{\numberline {23.46}SURF Surface Plot Function}{462}
\contentsline {subsection}{\numberline {23.46.1}Usage}{462}
\contentsline {subsection}{\numberline {23.46.2}Example}{463}
\contentsline {section}{\numberline {23.47}SURFACEPROPERTIES Surface Object Properties}{464}
\contentsline {subsection}{\numberline {23.47.1}Usage}{464}
\contentsline {section}{\numberline {23.48}TEXT Add Text Label to Plot}{466}
\contentsline {subsection}{\numberline {23.48.1}Usage}{466}
\contentsline {subsection}{\numberline {23.48.2}Example}{466}
\contentsline {section}{\numberline {23.49}TEXTPROPERTIES Text Object Properties}{467}
\contentsline {subsection}{\numberline {23.49.1}Usage}{467}
\contentsline {section}{\numberline {23.50}TITLE Plot Title Function}{468}
\contentsline {subsection}{\numberline {23.50.1}Usage}{468}
\contentsline {subsection}{\numberline {23.50.2}Example}{469}
\contentsline {section}{\numberline {23.51}TUBEPLOT Creates a Tubeplot}{469}
\contentsline {subsection}{\numberline {23.51.1}Usage}{469}
\contentsline {subsection}{\numberline {23.51.2}Example}{470}
\contentsline {section}{\numberline {23.52}UICONTROL Create a UI Control object}{471}
\contentsline {subsection}{\numberline {23.52.1}Usage}{471}
\contentsline {section}{\numberline {23.53}UICONTROLPROPERTIES UI Control Properties}{471}
\contentsline {subsection}{\numberline {23.53.1}Usage}{471}
\contentsline {section}{\numberline {23.54}VIEW Set Graphical View}{473}
\contentsline {subsection}{\numberline {23.54.1}Usage}{473}
\contentsline {subsection}{\numberline {23.54.2}Example}{474}
\contentsline {section}{\numberline {23.55}WINLEV Image Window-Level Function}{475}
\contentsline {subsection}{\numberline {23.55.1}Usage}{475}
\contentsline {subsection}{\numberline {23.55.2}Function Internals}{475}
\contentsline {subsection}{\numberline {23.55.3}Examples}{475}
\contentsline {section}{\numberline {23.56}XLABEL Plot X-axis Label Function}{476}
\contentsline {subsection}{\numberline {23.56.1}Usage}{476}
\contentsline {subsection}{\numberline {23.56.2}Example}{477}
\contentsline {section}{\numberline {23.57}XLIM Adjust X Axis limits of plot}{477}
\contentsline {subsection}{\numberline {23.57.1}Usage}{477}
\contentsline {subsection}{\numberline {23.57.2}Example}{478}
\contentsline {section}{\numberline {23.58}YLABEL Plot Y-axis Label Function}{478}
\contentsline {subsection}{\numberline {23.58.1}Usage}{478}
\contentsline {subsection}{\numberline {23.58.2}Example}{479}
\contentsline {section}{\numberline {23.59}YLIM Adjust Y Axis limits of plot}{479}
\contentsline {subsection}{\numberline {23.59.1}Usage}{479}
\contentsline {subsection}{\numberline {23.59.2}Example}{480}
\contentsline {section}{\numberline {23.60}ZLABEL Plot Z-axis Label Function}{481}
\contentsline {subsection}{\numberline {23.60.1}Usage}{481}
\contentsline {subsection}{\numberline {23.60.2}Example}{481}
\contentsline {section}{\numberline {23.61}ZLIM Adjust Z Axis limits of plot}{482}
\contentsline {subsection}{\numberline {23.61.1}Usage}{482}
\contentsline {subsection}{\numberline {23.61.2}Example}{482}
\contentsline {section}{\numberline {23.62}ZOOM Image Zoom Function}{483}
\contentsline {subsection}{\numberline {23.62.1}Usage}{483}
\contentsline {subsection}{\numberline {23.62.2}Example}{484}
\contentsline {chapter}{\numberline {24}Object Oriented Programming}{489}
\contentsline {section}{\numberline {24.1}AND Overloaded Logical And Operator}{489}
\contentsline {subsection}{\numberline {24.1.1}Usage}{489}
\contentsline {section}{\numberline {24.2}CLASS Class Support Function}{489}
\contentsline {subsection}{\numberline {24.2.1}Usage}{489}
\contentsline {section}{\numberline {24.3}COLON Overloaded Colon Operator}{490}
\contentsline {subsection}{\numberline {24.3.1}Usage}{490}
\contentsline {section}{\numberline {24.4}CONSTRUCTORS Class Constructors}{490}
\contentsline {subsection}{\numberline {24.4.1}Usage}{490}
\contentsline {section}{\numberline {24.5}CTRANSPOSE Overloaded Conjugate Transpose Operator}{491}
\contentsline {subsection}{\numberline {24.5.1}Usage}{491}
\contentsline {section}{\numberline {24.6}EQ Overloaded Equals Comparison Operator}{491}
\contentsline {subsection}{\numberline {24.6.1}Usage}{491}
\contentsline {section}{\numberline {24.7}GE Overloaded Greater-Than-Equals Comparison Operator}{491}
\contentsline {subsection}{\numberline {24.7.1}Usage}{491}
\contentsline {section}{\numberline {24.8}GT Overloaded Greater Than Comparison Operator}{491}
\contentsline {subsection}{\numberline {24.8.1}Usage}{491}
\contentsline {section}{\numberline {24.9}HORZCAT Overloaded Horizontal Concatenation}{492}
\contentsline {subsection}{\numberline {24.9.1}Usage}{492}
\contentsline {section}{\numberline {24.10}LDIVIDE Overloaded Left Divide Operator}{492}
\contentsline {subsection}{\numberline {24.10.1}Usage}{492}
\contentsline {section}{\numberline {24.11}LE Overloaded Less-Than-Equals Comparison Operator}{492}
\contentsline {subsection}{\numberline {24.11.1}Usage}{492}
\contentsline {section}{\numberline {24.12}LT Overloaded Less Than Comparison Operator}{493}
\contentsline {subsection}{\numberline {24.12.1}Usage}{493}
\contentsline {section}{\numberline {24.13}MINUS Overloaded Addition Operator}{493}
\contentsline {subsection}{\numberline {24.13.1}Usage}{493}
\contentsline {section}{\numberline {24.14}MLDIVIDE Overloaded Matrix Left Divide Operator}{493}
\contentsline {subsection}{\numberline {24.14.1}Usage}{493}
\contentsline {section}{\numberline {24.15}MPOWER Overloaded Matrix Power Operator}{493}
\contentsline {subsection}{\numberline {24.15.1}Usage}{493}
\contentsline {section}{\numberline {24.16}MRDIVIDE Overloaded Matrix Right Divide Operator}{494}
\contentsline {subsection}{\numberline {24.16.1}Usage}{494}
\contentsline {section}{\numberline {24.17}MTIMES Overloaded Matrix Multiplication Operator}{494}
\contentsline {subsection}{\numberline {24.17.1}Usage}{494}
\contentsline {section}{\numberline {24.18}NE Overloaded Not-Equals Comparison Operator}{494}
\contentsline {subsection}{\numberline {24.18.1}Usage}{494}
\contentsline {section}{\numberline {24.19}NOT Overloaded Logical Not Operator}{494}
\contentsline {subsection}{\numberline {24.19.1}Usage}{494}
\contentsline {section}{\numberline {24.20}OR Overloaded Logical Or Operator}{495}
\contentsline {subsection}{\numberline {24.20.1}Usage}{495}
\contentsline {section}{\numberline {24.21}PLUS Overloaded Addition Operator}{495}
\contentsline {subsection}{\numberline {24.21.1}Usage}{495}
\contentsline {section}{\numberline {24.22}POWER Overloaded Power Operator}{495}
\contentsline {subsection}{\numberline {24.22.1}Usage}{495}
\contentsline {section}{\numberline {24.23}RDIVIDE Overloaded Right Divide Operator}{495}
\contentsline {subsection}{\numberline {24.23.1}Usage}{495}
\contentsline {section}{\numberline {24.24}SUBSASGN Overloaded Class Assignment}{496}
\contentsline {subsection}{\numberline {24.24.1}Usage}{496}
\contentsline {section}{\numberline {24.25}SUBSINDEX Overloaded Class Indexing}{496}
\contentsline {subsection}{\numberline {24.25.1}Usage}{496}
\contentsline {section}{\numberline {24.26}SUBSREF Overloaded Class Indexing}{496}
\contentsline {subsection}{\numberline {24.26.1}Usage}{496}
\contentsline {section}{\numberline {24.27}TIMES Overloaded Multiplication Operator}{497}
\contentsline {subsection}{\numberline {24.27.1}Usage}{497}
\contentsline {section}{\numberline {24.28}TRANSPOSE Overloaded Transpose Operator}{497}
\contentsline {subsection}{\numberline {24.28.1}Usage}{497}
\contentsline {section}{\numberline {24.29}UMINUS Overloaded Unary Minus Operator}{497}
\contentsline {subsection}{\numberline {24.29.1}Usage}{497}
\contentsline {section}{\numberline {24.30}UPLUS Overloaded Unary Plus Operator}{498}
\contentsline {subsection}{\numberline {24.30.1}Usage}{498}
\contentsline {section}{\numberline {24.31}VERTCAT Overloaded Vertical Concatenation}{498}
\contentsline {subsection}{\numberline {24.31.1}Usage}{498}
\contentsline {chapter}{\numberline {25}Bitwise Operations}{499}
\contentsline {section}{\numberline {25.1}BITAND Bitwise Boolean And Operation}{499}
\contentsline {subsection}{\numberline {25.1.1}Usage}{499}
\contentsline {subsection}{\numberline {25.1.2}Example}{499}
\contentsline {section}{\numberline {25.2}BITCMP Bitwise Boolean Complement Operation}{500}
\contentsline {subsection}{\numberline {25.2.1}Usage}{500}
\contentsline {subsection}{\numberline {25.2.2}Example}{500}
\contentsline {section}{\numberline {25.3}BITOR Bitwise Boolean Or Operation}{500}
\contentsline {subsection}{\numberline {25.3.1}Usage}{500}
\contentsline {subsection}{\numberline {25.3.2}Example}{501}
\contentsline {section}{\numberline {25.4}BITXOR Bitwise Boolean Exclusive-Or (XOR) Operation}{501}
\contentsline {subsection}{\numberline {25.4.1}Usage}{501}
\contentsline {subsection}{\numberline {25.4.2}Example}{501}
\contentsline {chapter}{\numberline {26}FreeMat Threads}{503}
\contentsline {section}{\numberline {26.1}THREADCALL Call Function In A Thread}{503}
\contentsline {subsection}{\numberline {26.1.1}Usage}{503}
\contentsline {subsection}{\numberline {26.1.2}Example}{503}
\contentsline {section}{\numberline {26.2}THREADFREE Free thread resources}{504}
\contentsline {subsection}{\numberline {26.2.1}Usage}{504}
\contentsline {section}{\numberline {26.3}THREADID Get Current Thread Handle}{504}
\contentsline {subsection}{\numberline {26.3.1}Usage}{504}
\contentsline {subsection}{\numberline {26.3.2}Example}{504}
\contentsline {section}{\numberline {26.4}THREADKILL Halt execution of a thread}{505}
\contentsline {subsection}{\numberline {26.4.1}Usage}{505}
\contentsline {subsection}{\numberline {26.4.2}Example}{505}
\contentsline {section}{\numberline {26.5}THREADNEW Create a New Thread}{506}
\contentsline {subsection}{\numberline {26.5.1}Usage}{506}
\contentsline {section}{\numberline {26.6}THREADSTART Start a New Thread Computation}{506}
\contentsline {subsection}{\numberline {26.6.1}Usage}{506}
\contentsline {subsection}{\numberline {26.6.2}Example}{507}
\contentsline {section}{\numberline {26.7}THREADVALUE Retrieve the return values from a thread}{509}
\contentsline {subsection}{\numberline {26.7.1}Usage}{509}
\contentsline {subsection}{\numberline {26.7.2}Example}{509}
\contentsline {section}{\numberline {26.8}THREADWAIT Wait on a thread to complete execution}{510}
\contentsline {subsection}{\numberline {26.8.1}Usage}{510}
\contentsline {subsection}{\numberline {26.8.2}Example}{511}
\contentsline {chapter}{\numberline {27}Function Related Functions}{513}
\contentsline {section}{\numberline {27.1}INLINE Construct Inline Function}{513}
\contentsline {subsection}{\numberline {27.1.1}Usage}{513}
\contentsline {subsection}{\numberline {27.1.2}Example}{513}
\contentsline {section}{\numberline {27.2}SYMVAR Find Symbolic Variables in an Expression}{514}
\contentsline {subsection}{\numberline {27.2.1}Usage}{514}
\contentsline {subsection}{\numberline {27.2.2}Example}{515}
