Next:
Variables and Arrays
Up:
FreeMat Help Version 1.10
Previous:
Changes from 1.07 to
Contents
Basic Language
Subsections
Variables and Arrays
STRUCT Structure Array Constructor
Usage
Example
STRING String Arrays
Usage
MATRIX Matrix Definitions
Usage
Examples
CELL Cell Array Definitions
Usage
Examples
GLOBAL Global Variables
Usage
Example
PERSISTENT Persistent Variables
Usage
Example
INDEXING Indexing Expressions
Usage
Array Indexing
Cell Indexing
Structure Indexing
Complex Indexing
Functions and Scripts
FUNCTION Function Declarations
Usage
Examples
KEYWORDS Function Keywords
Usage
Example
VARARGIN Variable Input Arguments
Usage
Example
VARARGOUT Variable Output Arguments
Usage
Example
SCRIPT Script Files
Usage
Example
NARGIN Number of Input Arguments
Usage
Example
NARGOUT Number of Output Arguments
Usage
Example
SPECIAL Special Calling Syntax
Usage
Example
Mathematical Operators
PLUS Addition Operator
Usage
Function Internals
Examples
MINUS Subtraction Operator
Usage
Function Internals
Examples
DOTTIMES Element-wise Multiplication Operator
Usage
Function Internals
Examples
DOTRIGHTDIVIDE Element-wise Right-Division Operator
Usage
Function Internals
Examples
DOTLEFTDIVIDE Element-wise Left-Division Operator
Usage
Function Internals
Examples
DOTPOWER Element-wise Power Operator
Usage
Function Internals
Examples
COMPARISONOPS Array Comparison Operators
Usage
Examples
LOGICALOPS Logical Array Operators
Usage
Examples
LEFTDIVIDE Matrix Equation Solver/Divide Operator
Usage
Function Internals
Examples
RIGHTDIVIDE Matrix Equation Solver/Divide Operator
Usage
Function Internals
Examples
HERMITIAN Matrix Hermitian (Conjugate Transpose) Operator
Usage
Function Internals
Examples
TRANSPOSE Matrix Transpose Operator
Usage
Function Internals
Examples
POWER Matrix Power Operator
Usage
Function Internals
Examples
COLON Index Generation Operator
Usage
Examples
Flow Control
LASTERR Retrieve Last Error Message
Usage
Example
ERROR Causes an Error Condition Raised
Usage
Example
TRY-CATCH Try and Catch Statement
Usage
Examples
SWITCH Switch statement
Usage
Examples
IF-ELSEIF-ELSE Conditional Statements
Usage
Examples
WHILE While Loop
Usage
Examples
FOR For Loop
Usage
Examples
CONTINUE Continue Execution In Loop
Usage
Example
BREAK Exit Execution In Loop
Usage
Example
RETURN Return From Function
Usage
Example
RETALL Return From All Keyboard Sessions
Usage
Example
KEYBOARD Initiate Interactive Debug Session
Usage
Example
FreeMat Functions
PCODE Convert a Script or Function to P-Code
Usage
TIC Start Stopwatch Timer
Usage
Example
TOC Start Stopwatch Timer
Usage
Example
HELP Help
Usage
SLEEP Sleep For Specified Number of Seconds
Usage
EVAL Evaluate a String
Usage
Example
SOURCE Execute an Arbitrary File
Usage
Example
FEVAL Evaluate a Function
Usage
Example
LOADLIB Load Library Function
Usage
IMPORT Foreign Function Import
Usage
Example
QUIT Quit Program
Usage
BIND Bind Standalone Executable
Usage
Example
EXIT Exit Program
Usage
RESCAN Rescan M Files for Changes
Usage
Debugging FreeMat Code
DBAUTO Control Dbauto Functionality
Usage
DBDELETE Delete a Breakpoint
Usage
DBLIST List Breakpoints
Usage
DBSTEP Step N Statements
Usage
DBSTOP
Usage
Sparse Matrix Support
NNZ Number of Nonzeros
Usage
Example
SPARSE Construct a Sparse Matrix
Usage
FULL Convert Sparse Matrix to Full Matrix
Usage
Example
EIGS Sparse Matrix Eigendecomposition
Usage
Example
SPONES Sparse Ones Function
Usage
Examples
SPEYE Sparse Identity Matrix
Usage
Example
SPRAND Sparse Uniform Random Matrix
Usage
Examples
SPRANDN Sparse Normal Random Matrix
Usage
Examples
SPY Visualize Sparsity Pattern of a Sparse Matrix
Usage
Example
Samit K. Basu 2005-03-16