MATLAB Quick Reference clear Remove itams from the workspace fullfile Build full filename from parts Author disp Display text or array info Display contact information or toolbox Readme files Jialong he bigfoot.com http:/www.bigfoot.com/-jialong_he length Length of vector inmem Functions in memory load Retrieve variables from disk s List directory on UNIX General Purpose Commands memory Help for memory limitations matlabroot Get root directory of MATLAB installation Managing Commands and Functions Prevent M-file clearing mkdir Make new directory munlock addpath Allow M-file clearing Add directories to MATLAB's search path open Open files based on extension doc Display HTML documentation in Help browser openvar workspace variable in Array Editor,for graph pwd Display current directory docopt Display location of help file directory for UNIX platforms tempdir Retum the name of the system's temporary directory pack Consolidate workspece memory genpath Generate a path string tempname Unique name for temporary file save Save workspace variables on disk undocheekout Undo previous checkout from source control system help Display M-file help for MATLAB functions in the Command Window saveas Save figure or model using specified format ani在 Execute a UNIX command and return the result helpbrowser Display Help browser for access to all MathWorks online size Array dimensions Execute operating system command help who.whos List the variables in the workspace helpdesk Display the Help browser Display the Workspace Browser,a GUl for managing the Starting and Quitting MATLAB helpwin finish MATLAB termination M-file lasterr Last emror messase Controlling the Command Window exit Terminate MATLAB Last waming message Clear Command Window matlab Start MATLAB(UNIX systems only) license license echo Echo M-files during execution matlabre MATLAB startup Mfile lookfor Search for specified keyword in all help entries partialpath Partial pathname format Control the display fommat for outpu quit Terminate MATLAB startup MATLAB startup M-file path Control MATLAB's directory search path home Move cursor to upper left comer of Command Window more Control paged output for the Command Window Pathtool Operators and Special Characters Plus profile Star the M-file profiler,a utility for debugging and optimizing co Working with Operating Environment Minus profreport Generate a profile report beep Produce a beep sound Matrix multiplication rehash Refresh function and file system caches ed Change working directory Array multiplication rmpath Remove directories from MATLAB's search path Check file into soure contro system Matrix power support Open MathWorks Technical Support Web Page checkout Check file out of source control system Array power type Li过tflc Kronecker tenso product Backslash or left division ver copyfile Copy file Slash or right division version Get MATLAB version number Allow custom source control system and.\ Array division,right and lefi web Point Help browser or Web browser at file or Web site delete Delete filesor graphicsobjects Colon what List MATLAB-specific files in current directory diary Save session to a disk file Parentheses whatsnew Display README files for MATLAB and toolboxes dir Display adirectory listing Brackets which Locate functons and files dos Execute a DOS command and retum the result Curly braces edit Edit an M-file Decimal poin Managing Variables and the Workspace lepart Get filename parts Continustion filebrowser Display Current Directory browser,for viewing files
MATLAB Quick Reference Author: Jialong He Jialong_he@bigfoot.com http://www.bigfoot.com/~jialong_he General Purpose Commands Managing Commands and Functions addpath Add directories to MATLAB’s search path doc Display HTML documentation in Help browser docopt Display location of help file directory for UNIX platforms genpath Generate a path string help Display M-file help for MATLAB functions in the Command Window helpbrowser Display Help browser for access to all MathWorks online help helpdesk Display the Help browser helpwin Display M-file help and provide access to M-file help for all functions lasterr Last error message lastwarn Last warning message license license lookfor Search for specified keyword in all help entries partialpath Partial pathname path Control MATLAB’s directory search path pathtool Open the GUI for viewing and modifying MATLAB’s path profile Start the M-file profiler, a utility for debugging and optimizing code profreport Generate a profile report rehash Refresh function and file system caches rmpath Remove directories from MATLAB’s search path support Open MathWorks Technical Support Web Page type List file ver Display version information for MATLAB, Simulink, and toolboxes version Get MATLAB version number web Point Help browser or Web browser at file or Web site what List MATLAB-specific files in current directory whatsnew Display README files for MATLAB and toolboxes which Locate functions and files Managing Variables and the Workspace clear Remove items from the workspace disp Display text or array length Length of vector load Retrieve variables from disk memory Help for memory limitations mlock Prevent M-file clearing munlock Allow M-file clearing openvar Open workspace variable in Array Editor, for graphical editing pack Consolidate workspace memory save Save workspace variables on disk saveas Save figure or model using specified format size Array dimensions who, whos List the variables in the workspace workspace Display the Workspace Browser, a GUI for managing the workspace Controlling the Command Window clc Clear Command Window echo Echo M-files during execution format Control the display format for output home Move cursor to upper left corner of Command Window more Control paged output for the Command Window Working with Operating Environment beep Produce a beep sound cd Change working directory checkin Check file into source control system checkout Check file out of source control system cmopts Get name of source control system, and PVCS project filename copyfile Copy file customverctrl Allow custom source control system delete Delete files or graphics objects diary Save session to a disk file dir Display a directory listing dos Execute a DOS command and return the result edit Edit an M-file fileparts Get filename parts filebrowser Display Current Directory browser, for viewing files fullfile Build full filename from parts info Display contact information or toolbox Readme files inmem Functions in memory ls List directory on UNIX matlabroot Get root directory of MATLAB installation mkdir Make new directory open Open files based on extension pwd Display current directory tempdir Return the name of the system’s temporary directory tempname Unique name for temporary file undocheckout Undo previous checkout from source control system unix Execute a UNIX command and return the result ! Execute operating system command Starting and Quitting MATLAB finish MATLAB termination M-file exit Terminate MATLAB matlab Start MATLAB (UNIX systems only) matlabrc MATLAB startup M-file quit Terminate MATLAB startup MATLAB startup M-file Operators and Special Characters + Plus - Minus * Matrix multiplication .* Array multiplication ^ Matrix power .^ Array power kron Kronecker tensor product \ Backslash or left division / Slash or right division ./ and .\ Array division, right and left : Colon ( ) Parentheses [ ] Brackets {} Curly braces . Decimal point ... Continuation
Comma cos,cosh Cosine and hyperbolic cosine case Case switch Semicolon cot,coth Cotangent and hyperbolic cotangent catch Begin catch block Comment ese.esch Cosecant and hyperbolic cosecant continue Pass control to the next iteration of for or while loop Exelamation point exp Exponential else Transpose and quote Round towards zero elseif Conditionally execute statements Nonconjugated transpose Round towards minus infinity end ,nd Assignment ged Greatest common divisor Equality imag Imaginary part of a complex number error Display error messages Least common multipe for Repeat statements a specific number of times Logical and Natural logarithm Conditionally execute statements Logical or issect floatingpoint nun otherwise Default part of switch statement Logical not return Retum to the invoking function Logical exclusive or Common (base 10)logarithm switch Switch among several cases based on expression mod Modulus(signed remainder after division) try Begin try block Logical Functions nchoosek Binomial coefficient or all combinations warning Display warning message real Real part of complex number while Repeat statements an indefinite number of times Test to determine if all elements are nonzero any Test for any nonzeros rem Remainder after division Round to nearest inteeer exist Check if a variable or file exists round Find indices and values of nonzeroeleme sec.sech Secant and hyperbolic seca Interactive Input Signum function Request user input Detect state sign Detect an object of a given class sin,sinh Sine and hyperbolic sine keyhoard Invoke the keyboard in an M-file iskeyword Test if string isa MATLAB keyword Square root Generate amenu of choicesfor user inpu pause Halt execution temporarily isvarname Test if string is a valid variable name tan.tanh Tangent and hyperbolic tangent logical Convert numeric values to logical mislocked True if M-file cannot be cleared Language Constructs and Debugging Object-Oriented Programming MATLAB as a Programming Language class Create object or retum class of objec Elementary Math Functions builtin Execute bultin function from overloaded method double Convert to double precision ahs Absolute value and complex magnitude eval Interpret strings containing MATLAB expressions inferiorto Inferior class relationship acos,acosh Inverse cosine and inverse hyperbolic cosine evale Evaluate MATLAB expression with captur inline Construct an inline objec acot,acoth Inverse cotangent and inverse hyperbolic cotangent evalin Evaluate expression in workspace int8,int16.int32 Convert to signed integer acse,acsch Inverse cosecant and inverse hyperbolic cosecant feval Function evaluation isa Detect an object of a given class angle Phase angle Function M-files Extends the load function for user objects asec.asech Inverse secant and inverse hyperbolic secant global Define global variables saveobj Save filter for objects asin,asinh Inverse sine and inverse hyperbolic sine nargchk Check number of input arguments single Convert to single precision atan,atanh Inverse tangent and inverse hyperbolic tangent persistent Define persistent variable superiorto Superior class relationship atan2 Four-quadrant inverse tangent seript Script M-files uint8,uint16,uint32 Convert to unsigned integer ceil Round toward infinity complex Construct complex data from real and imaginary components Control Flow Debugging conj Complex conjugate break Terminate execution of for loop or while loop Clear breakpoints
, Comma ; Semicolon % Comment ! Exclamation point ‘ Transpose and quote .’ Nonconjugated transpose = Assignment == Equality Relational operators & Logical and | Logical or ~ Logical not xor Logical exclusive or Logical Functions all Test to determine if all elements are nonzero any Test for any nonzeros exist Check if a variable or file exists find Find indices and values of nonzero elements is* Detect state isa Detect an object of a given class iskeyword Test if string is a MATLAB keyword isvarname Test if string is a valid variable name logical Convert numeric values to logical mislocked True if M-file cannot be cleared Elementary Math Functions abs Absolute value and complex magnitude acos, acosh Inverse cosine and inverse hyperbolic cosine acot, acoth Inverse cotangent and inverse hyperbolic cotangent acsc, acsch Inverse cosecant and inverse hyperbolic cosecant angle Phase angle asec, asech Inverse secant and inverse hyperbolic secant asin, asinh Inverse sine and inverse hyperbolic sine atan, atanh Inverse tangent and inverse hyperbolic tangent atan2 Four-quadrant inverse tangent ceil Round toward infinity complex Construct complex data from real and imaginary components conj Complex conjugate cos, cosh Cosine and hyperbolic cosine cot, coth Cotangent and hyperbolic cotangent csc, csch Cosecant and hyperbolic cosecant exp Exponential fix Round towards zero floor Round towards minus infinity gcd Greatest common divisor imag Imaginary part of a complex number lcm Least common multiple log Natural logarithm log2 Base 2 logarithm and dissect floating-point numbers into exponent and mantissa log10 Common (base 10) logarithm mod Modulus (signed remainder after division) nchoosek Binomial coefficient or all combinations real Real part of complex number rem Remainder after division round Round to nearest integer sec, sech Secant and hyperbolic secant sign Signum function sin, sinh Sine and hyperbolic sine sqrt Square root tan, tanh Tangent and hyperbolic tangent Language Constructs and Debugging MATLAB as a Programming Language builtin Execute builtin function from overloaded method eval Interpret strings containing MATLAB expressions evalc Evaluate MATLAB expression with capture evalin Evaluate expression in workspace feval Function evaluation function Function M-files global Define global variables nargchk Check number of input arguments persistent Define persistent variable script Script M-files Control Flow break Terminate execution of for loop or while loop case Case switch catch Begin catch block continue Pass control to the next iteration of for or while loop else Conditionally execute statements elseif Conditionally execute statements end Terminate for, while, switch, try, and if statements or indicate last index error Display error messages for Repeat statements a specific number of times if Conditionally execute statements otherwise Default part of switch statement return Return to the invoking function switch Switch among several cases based on expression try Begin try block warning Display warning message while Repeat statements an indefinite number of times Interactive Input input Request user input keyboard Invoke the keyboard in an M-file menu Generate a menu of choices for user input pause Halt execution temporarily Object-Oriented Programming class Create object or return class of object double Convert to double precision inferiorto Inferior class relationship inline Construct an inline object int8, int16, int32 Convert to signed integer isa Detect an object of a given class loadobj Extends the load function for user objects saveobj Save filter for objects single Convert to single precision superiorto Superior class relationship uint8, uint16, uint32 Convert to unsigned integer Debugging dbclear Clear breakpoints
dbcont Resume exccution Compare the first ncharacters of strings (colon) Regularly spaced vector dbdown Change local workspace context strmempi Compare the first n characters of strings,ignoring case dbmex Enable MEX-file debugging strrep String search and replac Ouit debug mode Special Variables and Constants strtok First token in stnng Display function call stac Vertical concatenation of strings ans The most recent answer List all breakpoints symvar Determine symbolic variables inan ssion computer Identify the computer on which MATLAB is running dhstep Execute one or more lines from a breakpoint texlabel Produce the TeX format from a character string eps Floating-point relative accuracy dbstop Set breakpoints in an M-file fiunction upper Convert stning to upper case Imaginary unit List M-file with line numbers Inf Infinity dbup Change local workspace contex inputname Input argument name String to Number Conversion Imaginary unit char Create character array(string) NaN Not-a-Number Function Handles int2str Integer to string conversion ciMAT data typehan Number of function arguments Converta matrix into a string num2str Number to string conversion nargoutchk Validate number ofoutput arguments functions Retum information about a function handle Write fommatted data toa string pi Ratio of a cirele's circumference to its diameter func2str Constructs a function name string from a function handle Read string under format control realma Largest positive floatingpoint number str2fune Constructs a function handle from a function name string str2double Convert string to double-precision value realmin Smallest positive floating-point number String to matrix conversion Pass or retum variable numbers of arguments Character String Functions str2num String to number conversion General abs Absolute value and complex magnitude Time and Dates Radix Conversion eval Interpret strings containing MATLAB expressions calendar Calendar real Real part of complex mumber bin2de Binary to decimal number conversion clock Curenttime asa date vector strings MATLAB string handling dee2bin Decimal to binary number conversion cputime Elapsed CPU time Decimal to hexadecimal number conversion date Current date string Hexadecimal to decimal number conversion String to Function Handle Conversion datenum Serial date number hex2aum Hexadecimal to double number conversion datestr Date string format Constructsa function name string froma function handle Matrix Manipulation datevee Date components Constructs a function handle from a function name string eomday End of month Elementary Matrices and Arrays etime String Manipulation blkdiag Construct a block diagonal matrix from inout arguments Current date and time Striptrailing blanks from the end of a string eve Identity matrix tie.toc Stopwatch timer deblank Find one string within another Generate linearly spaced vectors weekday Day of the week lower Convert string to lower case Generate logarithmically spaced vectors streat String concatenation nume Matrix Manipulation Create an array ofall ones stremp Compare strings ones Uniformly distributed random numbers and arrays cat Concatenate arrays strempi Compare strings,ignoring case rand Justify a character array randn Normally distributed random numbers and arrays diag Diagonal matrices and diagonals of amatrix Flip matrices left-right strmatch Find possible matches for a string zeros Create an array of all zeros Flip matrices up-down
dbcont Resume execution dbdown Change local workspace context dbmex Enable MEX-file debugging dbquit Quit debug mode dbstack Display function call stack dbstatus List all breakpoints dbstep Execute one or more lines from a breakpoint dbstop Set breakpoints in an M-file function dbtype List M-file with line numbers dbup Change local workspace context Function Handles function_ha ndle MATLAB data type that is a handle to a function functions Return information about a function handle func2str Constructs a function name string from a function handle str2func Constructs a function handle from a function name string Character String Functions General abs Absolute value and complex magnitude eval Interpret strings containing MATLAB expressions real Real part of complex number strings MATLAB string handling String to Function Handle Conversion func2str Constructs a function name string from a function handle str2func Constructs a function handle from a function name string String Manipulation deblank Strip trailing blanks from the end of a string findstr Find one string within another lower Convert string to lower case strcat String concatenation strcmp Compare strings strcmpi Compare strings, ignoring case strjust Justify a character array strmatch Find possible matches for a string strncmp Compare the first n characters of strings strncmpi Compare the first n characters of strings, ignoring case strrep String search and replace strtok First token in string strvcat Vertical concatenation of strings symvar Determine symbolic variables in an expression texlabel Produce the TeX format from a character string upper Convert string to upper case String to Number Conversion char Create character array (string) int2str Integer to string conversion mat2str Convert a matrix into a string num2str Number to string conversion sprintf Write formatted data to a string sscanf Read string under format control str2double Convert string to double-precision value str2mat String to matrix conversion str2num String to number conversion Radix Conversion bin2dec Binary to decimal number conversion dec2bin Decimal to binary number conversion dec2hex Decimal to hexadecimal number conversion hex2dec Hexadecimal to decimal number conversion hex2num Hexadecimal to double number conversion Matrix Manipulation Elementary Matrices and Arrays blkdiag Construct a block diagonal matrix from input arguments eye Identity matrix linspace Generate linearly spaced vectors logspace Generate logarithmically spaced vectors numel Number of elements in a matrix or cell array ones Create an array of all ones rand Uniformly distributed random numbers and arrays randn Normally distributed random numbers and arrays zeros Create an array of all zeros : (colon) Regularly spaced vector Special Variables and Constants ans The most recent answer computer Identify the computer on which MATLAB is running eps Floating-point relative accuracy i Imaginary unit Inf Infinity inputname Input argument name j Imaginary unit NaN Not-a-Number nargin, nargout Number of function arguments nargoutchk Validate number of output arguments pi Ratio of a circle’s circumference to its diameter, realmax Largest positive floating-point number realmin Smallest positive floating-point number varargin, varargout Pass or return variable numbers of arguments Time and Dates calendar Calendar clock Current time as a date vector cputime Elapsed CPU time date Current date string datenum Serial date number datestr Date string format datevec Date components eomday End of month etime Elapsed time now Current date and time tic, toc Stopwatch timer weekday Day of the week Matrix Manipulation cat Concatenate arrays diag Diagonal matrices and diagonals of a matrix fliplr Flip matrices left-right flipud Flip matrices up -down
repmat Replicate and tlean aray Structure Functions sub2ind Singe index from subscripts reshape Reshape array fieldnames Field names of a structure Rotate matrix 90 degrees getfield Get field of structure array Sound Processing Functions tril Lower triangular part ofa matrix rmfield Remove structure fields General Sound Functions triu Upper triangular part of a matrix setfield Set field of structure array lin2mu Convert linear audio signal to mulaw (colon) Index into array,rearrange array struet Create structure array Convert mu-law audio signal to linea Structure to cell array conversion sound Convert vector into sound Vector Functions soundsc Scale data and play as sound MATLAB Object Functions cross Vector cross product class Create object or retum class of object dot Vector dot product Detect an object ofa given class SPARCstation-Specific Sound Functions Set intersectionoftwo vectors methods Display method names auread Read NeXT/SUN(.au)sound file ismember Detect members of a set methodsview Displays impled by auwrite Write NeXT/SUN(au)sound file setdif面 Retum the set difference of two vector a class setxor Set exclusive or oftwo vectors subsasgn Overloaded method for A(D)=B,A=B,and union Set union oftwo vectors A.ficld=B .WAV Sound Functions unique Unique clements of a vecto subsindex Overloaded method for X(A) wavplay Play recorded sound audio ouput devic subsref Overloaded method for A(D,Al)and A.field wavread Read Microsoft WAVE(.wav)sound file Specialized Matrices wavrecord Record sound using a PGbased audio input device compan Companion matrix Cell Array Functions Write Microsofi WAVE(.wav)sound file Test matrices cell Create cell array gallery hadamard Hadamard matrix cellfun Apply a function to each element in acell array File l/O Functions hankel Hankel matrix cellstr Create cell array of strings from character array cell2struet File Opening and Closing Cell array to structure array conversion hilb Hilbert matrix celldisp Display cell arrayco fclose Close oneor more open files invhilb Inverse of the Hilbert matrix fopen obtain information about open files magic Magic square Graphically display the structure of cell arrays Pascal matrix num2cell Convert a numeric array into a cell array toeplitz Toeplitz matrix Unformatted I/O wilkinson Wilkinson's eigenvalue test matrix Multidimensional Array Functions fread Read binary data from file cat fwrite Write binary data to a file Bitwise Functions flipdim Flip array along a specified dimension bitand Bit-wiseAND ind2sub Subscripts from linear index bitemp Complement bits ipermute Formatted I/O bitor Bit-wiseOR fgetl Retumn the next line of a file as a string without line terminator(s) ndgrid Generate arrays for multidimen onal functions anc fgets Retumn the next line of a file as astring with line terminator(s) bitset Set bit ndims Number of array dimensions fprintf Write formatted data to file bitshif Bit-wise shift fseanf Read fommatted data from file permute Rearrange the dimensions of a multidimensional array Get bit reshape Reshape array Bit-wise XOR shiftdim Shiftdimensions File Positioning squeeze Remove singleton dime nsions feof Test for endof-file
repmat Replicate and tile an array reshape Reshape array rot90 Rotate matrix 90 degrees tril Lower triangular part of a matrix triu Upper triangular part of a matrix : (colon) Index into array, rearrange array Vector Functions cross Vector cross product dot Vector dot product intersect Set intersection of two vectors ismember Detect members of a set setdiff Return the set difference of two vector setxor Set exclusive or of two vectors union Set union of two vectors unique Unique elements of a vector Specialized Matrices compan Companion matrix gallery Test matrices hadamard Hadamard matrix hankel Hankel matrix hilb Hilbert matrix invhilb Inverse of the Hilbert matrix magic Magic square pascal Pascal matrix toeplitz Toeplitz matrix wilkinson Wilkinson’s eigenvalue test matrix Bitwise Functions bitand Bit-wise AND bitcmp Complement bits bitor Bit-wise OR bitmax Maximum floating-point integer bitset Set bit bitshift Bit-wise shift bitget Get bit bitxor Bit-wise XOR Structure Functions fieldnames Field names of a structure getfield Get field of structure array rmfield Remove structure fields setfield Set field of structure array struct Create structure array struct2cell Structure to cell array conversion MATLAB Object Functions class Create object or return class of object isa Detect an object of a given class methods Display method names methodsview Displays information on all methods implemented by a class subsasgn Overloaded method for A(I)=B, A{I}=B, and A.field=B subsindex Overloaded method for X(A) subsref Overloaded method for A(I), A{I} and A.field Cell Array Functions cell Create cell array cellfun Apply a function to each element in a cell array cellstr Create cell array of strings from character array cell2struct Cell array to structure array conversion celldisp Display cell array contents cellplot Graphically display the structure of cell arrays num2cell Convert a numeric array into a cell array Multidimensional Array Functions cat Concatenate arrays flipdim Flip array along a specified dimension ind2sub Subscripts from linear index ipermute Inverse permute the dimensions of a multidimensional array ndgrid Generate arrays for multidimensional functions and interpolation ndims Number of array dimensions permute Rearrange the dimensions of a multidimensional array reshape Reshape array shiftdim Shift dimensions squeeze Remove singleton dimensions sub2ind Single index from subscripts Sound Processing Functions General Sound Functions lin2mu Convert linear audio signal to mu-law mu2lin Convert mu-law audio signal to linear sound Convert vector into sound soundsc Scale data and play as sound SPARCstation-Specific Sound Functions auread Read NeXT/SUN (.au) sound file auwrite Write NeXT/SUN (.au) sound file .WAV Sound Functions wavplay Play recorded sound on a PC-based audio output device wavread Read Microsoft WAVE (.wav) sound file wavrecord Record sound using a PC-based audio input device wavwrite Write Microsoft WAVE (.wav) sound file File I/O Functions File Opening and Closing fclose Close one or more open files fopen Open a file or obtain information about open files Unformatted I/O fread Read binary data from file fwrite Write binary data to a file Formatted I/O fgetl Return the next line of a file as a string without line terminator(s) fgets Return the next line of a file as a string with line terminator(s) fprintf Write formatted data to file fscanf Read formatted data from file File Positioning feof Test for end-of-file
ferror Query MATLAB about errors in file input or oupu rat,rats Rational fraction approximation Hessenberg form ofa matrix frewind Rewind an open file poly Polynomial with specified roots fseek Coordinate System Conversion ftell Get file position indicator eart2pol Transform Cartesian coordinates to polar or cylindrical rs2esf Convert real Schur form to complex Schur form eart2sph Transform Cartesian coordinates to spherical schur Schur decomposition String Conversion Singular value decomposition sph2eart Transform spherical coordinates to Cartesian spriatf Write formatted data toastring sseanf Read string under format control Matrix Functions Matrix Functions expm Matrix exponential Matrix Analysis Specialized File I/O Evaluate general matrix function cond Condition number with respect to inversion Ma山x loganthm dlmread Read an ASCII delimited file into amatrix logm condeig Condition number with respect to eigenvalues sqrtm Matrix square root dlmwrite Write a matrix to an ASCII delimited file det Matrix determinant hdf HDF interface norm Vector and matrix norms Retum a graphics file noll Null space ofa matrix Low Level Functions imread Read image from graphics file orth Range space of a matrix qrdelete Delete column from Or factorization imwrite Write an image to a graphics file rank Rank ofa mat山rix grinsert Insert column in QR factorization strread Read formated data fromastring Matrix reciprocal condition number estimat textread Read formatted data from text file rref,rrefmovie Reduced row echelon form Data Analysis and Fourier Transform wklread Read a Lotus123 WKI spreadsheet file into a matrix subspace Angle between two subspaces Basic Operations Wrteaix WKI spreadshect file trace Sum of diagonal elements cumprod Cumulative product cumsum Cumulative sum Specialized Math Functions Linear Equations Prime factors airy Airy functions chol Cholesky factorization 【actor besselh Bessel functions ofthe third kind(Hankel inv Matrix inverse inpolygon Detect points insidea polygonal regio functions) Least squares solution in the presence of known max Maximum elements of an arrav besseli.besselk Modified Bessel functions Iseov covariance mean Average or mean value of arrays Bessel functions LU matrix factorization median Median value of amrays beta,betainc,betaln Beta functions Nonnesative least squares min Minimum elements of an array edip啊 minres Minimu Residual Method perms All possible permutations ellipke mgrtcalptcinegabotefintanlsond Moore-Penrose pseudoinverse of a matrix polyarea Area of polygon ar Orthogona打iangular decompos由on primes Generate list of prime numbers erf.erfe.erfex, Error functions symmlq Symmetric LQ method prod Product of array clements expint Exponential integral rectint Rectangle intersection Area factorial Factorial function Eigenvalues and Singular Values sort Sort elements in ascending orde gamma.gamm sortrows Sort rows in ascending order Gamma functions balance Improve accuracy of computed eigenvalues std Standard deviation legendre Associated Legendre functions Convert complex diagonal fomm to real block diagonaform pow2 Base 2 power and scale floatingpoint numbers trapz Trapezoidal numerical integration gsvd Generalized singular value decomposition
ferror Query MATLAB about errors in file input or output frewind Rewind an open file fseek Set file position indicator ftell Get file position indicator String Conversion sprintf Write formatted data to a string sscanf Read string under format control Specialized File I/O dlmread Read an ASCII delimited file into a matrix dlmwrite Write a matrix to an ASCII delimited file hdf HDF interface imfinfo Return information about a graphics file imread Read image from graphics file imwrite Write an image to a graphics file strread Read formatted data from a string textread Read formatted data from text file wk1read Read a Lotus123 WK1 spreadsheet file into a matrix wk1writ e Write a matrix to a Lotus123 WK1 spreadsheet file Specialized Math Functions airy Airy functions besselh Bessel functions of the third kind (Hankel functions) besseli, besselk Modified Bessel functions besselj, bessely Bessel functions beta, betainc, betaln Beta functions ellipj Jacobi elliptic functions ellipke Complete elliptic integrals of the first and second kind erf, erfc, erfcx, erfinv Error functions expint Exponential integral factorial Factorial function gamma, gammainc, gammaln Gamma functions legendre Associated Legendre functions pow2 Base 2 power and scale floating-point numbers rat, rats Rational fraction approximation Coordinate System Conversion cart2pol Transform Cartesian coordinates to polar or cylindrical cart2sph Transform Cartesian coordinates to spherical pol2cart Transform polar or cylindrical coordinates to Cartesian sph2cart Transform spherical coordinates to Cartesian Matrix Functions Matrix Analysis cond Condition number with respect to inversion condeig Condition number with respect to eigenvalues det Matrix determinant norm Vector and matrix norms null Null space of a matrix orth Range space of a matrix rank Rank of a matrix rcond Matrix reciprocal condition number estimate rref, rrefmovie Reduced row echelon form subspace Angle between two subspaces trace Sum of diagonal elements Linear Equations chol Cholesky factorization inv Matrix inverse lscov Least squares solution in the presence of known covariance lu LU matrix factorization lsqnonneg Nonnegative least squares minres Minimum Residual Method pinv Moore-Penrose pseudoinverse of a matrix qr Orthogonal-triangular decomposition symmlq Symmetric LQ method Eigenvalues and Singular Values balance Improve accuracy of computed eigenvalues cdf2rdf Convert complex diagonal form to real block diagonal form eig Eigenvalues and eigenvectors gsvd Generalized singular value decomposition hess Hessenberg form of a matrix poly Polynomial with specified roots qz QZ factorization for generalized eigenvalues rsf2csf Convert real Schur form to complex Schur form schur Schur decomposition svd Singular value decomposition Matrix Functions expm Matrix exponential funm Evaluate general matrix function logm Matrix logarithm sqrtm Matrix square root Low Level Functions qrdelete Delete column from QR factorization qrinsert Insert column in QR factorization Data Analysis and Fourier Transform Basic Operations cumprod Cumulative product cumsum Cumulative sum cumtrapz Cumulative trapezoidal numerical integration factor Prime factors inpolygon Detect points inside a polygonal region max Maximum elements of an array mean Average or mean value of arrays median Median value of arrays min Minimum elements of an array perms All possible permutations polyarea Area of polygon primes Generate list of prime numbers prod Product of array elements rectint Rectangle intersection Area sort Sort elements in ascending order sortrows Sort rows in ascending order std Standard deviation sum Sum of array elements trapz Trapezoidal numerical integration
var Variance poly Polynomial with specified roots Function Functions-Nonlinear Numerical polyder Polynomial derivative Methods Finite Differences polyeig Polynomial eigenvalue problem bvpde polyfit Polynomial curve fitting del2 Discrete Laplacian polyint Analytic polynomial integration Extract parameters from BVP options structure diff Differences and approximate derivatives polyval Polynomial evaluation bvpinit Form the initial guess for gradient Numerical gradient polyvlm Matrix polynomial evaluation bvpset Createfalter BVP options structur bvpval Evaluate the solution computed by bvp4c residue Correlation dblquad roots Polynomial roots fminbad Minimize a function of one variable correoef Correlation coefficients fminsearch Minimizea function of several variables Covariance matrix Data Interpolation Find zero of a function of one variable ode45.ode23. Filtering and Convolution convhull Convex hull Solve initial value problems for ODEs ou Multidimensional convex hull conv Convolution and polynomial multiplication delaunay Delaunay triangulation conv2 Two-dimensional conolution odeget Extract parameters from ODE options structure delaunay3 Three-dimensionalDelaunay tessellation deconv Deconvolution and polynomial division odeset Create/alter ODE options structure delaunay Multidimensional Delaunay tessellation Get optimization options structure parameter filter ()ne dsearch Search for nearest point optimget Two-dimensional digita filtering dsearchn Multidimensional closest point search griddata Data gridding optimset pdepe Solve initial-boundary value problems Fourier Transforms griddata3 pdeval Evaluate the solution computed by pdepe abs Absolute value and complex magnitude griddatan Data gridding and hypersurface fitting (dimension>2) quad Numerical evaluation of integrals,adaptive Simpson quadrature angle Phase angle interpl One-dimensional data interpolation(table lookup) eplxpair Sort complex numbers into complex conjugate pairs interp2 Two-dimensional data interpolation(table lookup) One-dimensional fast Fourier transform interp3 Thre-dimensional data interpolation (table lookup) veetorize Vectorize expression Two-dimersional fast Fourier transform One-dimensional interpolation using the FFTmethod ffshift Shif DCcomponent of fast Fourier transform of ioterpn Multidimensional data interpolation(table lookup) Sparse Matrix Functions meshgrid GencrateX and Ymatrices for three-dimensional plots Elementary Sparse Matrices Inverse one-dimensional fast Fourier transform Generate arrays for multidimensional functions and ndgrid intemolation iff2 Inverse two-dimensional fast Fourier transform spdiags Extract and create sparse band and diagonal matrices Inverse multidimensional fast Fourier transform HIP) speve Sparse identity matrix ifftshift Inverse FFT shift Ppval Piecewise polynomial evaluation sprand Sparse uniformly distributed random matrix nextpow2 Next power oftwo spline Cubie spline data interpolation sprandn Sparse normally distributed random matrix unwrap Correct phase angles Search for enclosing Delaunay triangle sprandsym Sparse symmetric random matrix tsearchn Multidimensional closest simplex search Polynomial and Interpolation Functions voronoi Voronoi diagram oronoin Multidimensional Voronoi diagrams Full to Sparse Conversion Polynomials find Find indices and values ofnonzeroelements Convolution and polynomial multiplication full deconv Deconvolution and polynomial division sparse Create sparse matrix
var Variance Finite Differences del2 Discrete Laplacian diff Differences and approximate derivatives gradient Numerical gradient Correlation corrcoef Correlation coefficients cov Covariance matrix Filtering and Convolution conv Convolution and polynomial multiplication conv2 Two-dimensional convolution deconv Deconvolution and polynomial division filter Filter data with an infinite impulse response (IIR) or finite impulse response (FIR) filter filter2 Two-dimensional digital filtering Fourier Transforms abs Absolute value and complex magnitude angle Phase angle cplxpair Sort complex numbers into complex conjugate pairs fft One-dimensional fast Fourier transform fft2 Two-dimensional fast Fourier transform fftshift Shift DC component of fast Fourier transform to center of spectrum ifft Inverse one-dimensional fast Fourier transform ifft2 Inverse two-dimensional fast Fourier transform ifftn Inverse multidimensional fast Fourier transform ifftshift Inverse FFT shift nextpow2 Next power of two unwrap Correct phase angles Polynomial and Interpolation Functions Polynomials conv Convolution and polynomial multiplication deconv Deconvolution and polynomial division poly Polynomial with specified roots polyder Polynomial derivative polyeig Polynomial eigenvalue problem polyfit Polynomial curve fitting polyint Analytic polynomial integration polyval Polynomial evaluation polyvalm Matrix polynomial evaluat ion residue Convert between partial fraction expansion and polynomial coefficients roots Polynomial roots Data Interpolation convhull Convex hull convhulln Multidimensional convex hull delaunay Delaunay triangulation delaunay3 Three-dimensionalDelaunay tessellation delaunayn Multidimensional Delaunay tessellation dsearch Search for nearest point dsearchn Multidimensional closest point search griddata Data gridding griddata3 Data gridding and hypersurface fitting for three-dimensional data griddatan Data gridding and hypersurface fitting (dimension >= 2) interp1 One-dimensional data interpolation (table lookup) interp2 Two-dimensional data interpolation (table lookup) interp3 Three-dimensional data interpolation (table lookup) interpft One-dimensional interpolation using the FFT method interpn Multidimensional data interpolation (table lookup) meshgrid Generate X and Y matrices for three-dimensional plots ndgrid Generate arrays for multidimensional functions and interpolation pchip Piecewise Cubic Hermite Interpolating Polynomial (PCHIP) ppval Piecewise polynomial evaluation spline Cubic spline data interpolation tsearch Search for enclosing Delaunay triangle tsearchn Multidimensional closest simplex search voronoi Voronoi diagram voronoin Multidimensional Voronoi diagrams Function Functions - Nonlinear Numerical Methods bvp4c Solve two-point boundry value problems (BVPs) for ordinary differential equations (ODEs) bvpget Extract parameters from BVP options structure bvpinit Form the initial guess for bvp4c bvpset Create/alter BVP options structure bvpval Evaluate the solution computed by bvp4c dblquad Numerical evaluation of double integrals fminbnd Minimize a function of one variable fminsearch Minimize a function of several variables fzero Find zero of a function of one variable ode45, ode23, ode113, ode15s, ode23s, ode23t, ode23tb Solve initial value problems for ODEs odeget Extract parameters from ODE options structure odeset Create/alter ODE options structure optimget Get optimization options structure parameter values optimset Create or edit optimization options parameter structure pdepe Solve initial-boundary value problems pdeval Evaluate the solution computed by pdepe quad Numerical evaluation of integrals, adaptive Simpson quadrature quadl Numerical evaluation of integrals, adaptive Lobatto quadrature vectorize Vectorize expression Sparse Matrix Functions Elementary Sparse Matrices spdiags Extract and create sparse band and diagonal matrices speye Sparse identity matrix sprand Sparse uniformly distributed random matrix sprandn Sparse normally distributed random matrix sprandsym Sparse symmetric random matrix Full to Sparse Conversion find Find indices and values of nonzero elements full Convert sparse matrix to full matrix sparse Create sparse matrix
spcouvert Import matrix from sparse matrix extemal fommat luinc Incomplete LU matrix factorizations slice Volumetric slice plot Preconditioned Conjugate Gradients method sphere Generate sphere Working with Nonzero Entries qmr Quasi-Minimal Residual method stem3 Plot discrete rface dat gr Orthogonaltriangular decomposition vaterfa用 Waterfall plot 推M Number of nonzcro matrix elements Delete column from QR factorizatior grinsert Insert column in QR factorization Amount of storage allocated for nonzero matrix elements Plot Annotation and Grids Rank I update to OR factorzation Allocate space for sparse matrix clabel Add contour labels to a contour plot spfun Apply function to nonzero sparse matrix clements datetick Date formatted tick labels sp0目es Replace nonzero sparse matrix elements with ones Sparse Eigenvalues and Singular Values grid Grid lines for 2-D and 3-D plots Find eigenvalues and eigenvectors 2text Place text ona2-D graph using a mouse Find singular values Graph legend for lincs and natches Visualizing Sparse Matrices svds legend plotyy Plot graphs with Y tick labels on the left and right Visualize sparsity pattem Miscellaneous Titles for 2-D and 3Dplots xlabel X-axis labels for 2-D and 3-D plots Set parameters for sparse matrix routines Reordering Algorithms spparms Y-axis labels for 2-D and 3-D plots colamd Column approximate minimum degree permutation zlabel Z-axis labels for 3-Dplots Plotting and Data Visualization colmmd Basic Plots and Graphs colperm Sparse column permutation based on nonzero coun Surface,Mesh,and Contour Plots dmperm Dulmage-Mendelsohn decomposition bar Vertical bar chart barh contour Contour(level curves)plot randperm Random permutation ymdSymmetric approximate minimum degree permutation hist Plothistograms Contour computation contourf symmmd Sparse symmetric minimum degree ordering histe Filled contour plot Histogram count held Hold current graph Mesh hidden line removal mode Sparse reverse Cuthill-MeKee ordering loglog Plot using log-log scales meshe Combination mesh/contourplot pie Pie plot mesh 3-D mesh with reference plane Norm,Condition Number,and Rank plot Plot vectors or matrices peaks A sample function of two variables condest I-norm matrix condition number estimate polar Polar coordinate plot surf 3-D shaded surface graph 2-norm estimate semilogx Semi-log scale plot surface Create surface low-level objects Semi-log scale plot surfe Combination surfcontourplot semilo Sparse Systems of Linear Equations Create axes intiled positions surf 3-D shaded surface with lighting trimesh Triangular mesh plot bicg BiConjugate Gradients method trisurf Triangular surface plo biegstab BiConjugate Gradients Stabilized method Three-Dimensional Plotting 要 Conjugate Gradients Squared method bar3 Vertical 3-D bar chart Choleky and Choleky-nfinity Horizontal D bar chart Volume Visualization cholinc har3h comet3 3-D comet plot coneplot Plot velocity vectors as cones in3-D vector field cholupdate Rank I update to Cholesky factorization cylinder Generate cylinder contourslce Draw contours in volume slice plane gmres Generalized Minimum Residual method (with restarts) Draw filled 3-Dpolygons in 3-space feruiceuiandanguardociyofavecn LSQR implementation of Conjugate Gradients on the normal equations Plot lines and points in 3-D snace divergence Compute the divergence ofa vector field quiver3 3-D quiver (or velocity)plo
spconvert Import matrix from sparse matrix external format Working with Nonzero Entries nnz Number of nonzero matrix elements nonzeros Nonzero matrix elements nzmax Amount of storage allocated for nonzero matrix elements spalloc Allocate space for sparse matrix spfun Apply function to nonzero sparse matrix elements spones Replace nonzero sparse matrix elements with ones Visualizing Sparse Matrices spy Visualize sparsity pattern Reordering Algorithms colamd Column approximate minimum degree permutation colmmd Sparse column minimum degree permutation colperm Sparse column permutation based on nonzero count dmperm Dulmage-Mendelsohn decomposition randperm Random permutation symamd Symmetric approximate minimum degree permutation symmmd Sparse symmetric minimum degree ordering symrcm Sparse reverse Cuthill-McKee ordering Norm, Condition Number, and Rank condest 1-norm matrix condition number estimate normest 2-norm estimate Sparse Systems of Linear Equations bicg BiConjugate Gradients method bicgstab BiConjugate Gradients Stabilized method cgs Conjugate Gradients Squared method cholinc Sparse Incomplete Cholesky and Cholesky-Infinity factorizations cholupdate Rank 1 update to Cholesky factorization gmres Generalized Minimum Residual method (with restarts) lsqr LSQR implementation of Conjugate Gradients on the normal equations luinc Incomplete LU matrix factorizations pcg Preconditioned Conjugate Gradients method qmr Quasi-Minimal Residual method qr Orthogonal-triangular decomposition qrdelete Delete column from QR factorization qrinsert Insert column in QR factorization qrupdate Rank 1 update to QR factorization Sparse Eigenvalues and Singular Values eigs Find eigenvalues and eigenvectors svds Find singular values Miscellaneous spparms Set parameters for sparse matrix routines Plotting and Data Visualization Basic Plots and Graphs bar Vertical bar chart barh Horizontal bar chart hist Plot histograms histc Histogram count hold Hold current graph loglog Plot using log-log scales pie Pie plot plot Plot vectors or matrices. polar Polar coordinate plot semilogx Semi-log scale plot semilogy Semi-log scale plot subplot Create axes in tiled positions Three-Dimensional Plotting bar3 Vertical 3-D bar chart bar3h Horizontal 3-D bar chart comet3 3-D comet plot cylinder Generate cylinder fill3 Draw filled 3-D polygons in 3-space plot3 Plot lines and points in 3-D space quiver3 3-D quiver (or velocity) plot slice Volumetric slice plot sphere Generate sphere stem3 Plot discrete surface data waterfall Waterfall plot Plot Annotation and Grids clabel Add contour labels to a contour plot datetick Date formatted tick labels grid Grid lines for 2-D and 3-D plots gtext Place text on a 2-D graph using a mouse legend Graph legend for lines and patches plotyy Plot graphs with Y tick labels on the left and right title Titles for 2-D and 3-D plots xlabel X-axis labels for 2-D and 3-D plots ylabel Y-axis labels for 2-D and 3-D plots zlabel Z-axis labels for 3-D plots Surface, Mesh, and Contour Plots contour Contour (level curves) plot contourc Contour computation contourf Filled contour plot hidden Mesh hidden line removal mode meshc Combination mesh/contourplot mesh 3-D mesh with reference plane peaks A sample function of two variables surf 3-D shaded surface graph surface Create surface low-level objects surfc Combination surf/contourplot surfl 3-D shaded surface with lighting trimesh Triangular mesh plot trisurf Triangular surface plot Volume Visualization coneplot Plot velocity vectors as cones in 3-D vector field contourslice Draw contours in volume slice plane curl Compute the curl and angular velocity of a vector field divergence Compute the divergence of a vector field
Generate scalar volume data ezplot3 Easy to use-D parametric curve plotter Set or get plot box aspect ratio interpstreamspeed Interpolate streamline vertices from vector-field ezpolar Easy to use polar coordinate plotter view 3-D graph viewpoint specification. magnitudes ezsurf Easy to use 3-D colored surface plotter viewmtx Generate view transformation matrices socaps Easy to use combination surfaceco plotter xlim Set or get the current x-axis limits isocolors Compute the colors of isosurface vertices feather Feather plot ylim Set or get the current y-axis limits isonormals Compute normals of isosurface vertices Draw filled 2-Dpolygons zlim Set or get the limits isosurface Extract isosurface data from volume data fplot Plot a function reducepatch Reduce the number of patch faces pareto reducevolume Reduce number of elements in volume data set Lighting pie3 3-D pie plot shrinkfaces Reduce the size of patch faces Scatter plot matrix camlight Cerate or position Light plotmatrix slice Draw slice planes in volume pcolor Pseudocolor(checkerboard)plo light Lightobject creation function smooth3 Smooth 3-D data rose histogram lighting Lighting mode stream2 Compute2-D stream line data quiver Quiver (or velocity)plot lightangle Position light in sphereical coordinates stream3 Compute3-D stream line data ribbon Ribbon plot material streamline Draw stream lines from 2-or 3-D vector data stairs Stairs丈ep grapb streamparticles Draws stream particles from vector volume data seatter Scatter plot streamribbon Draws stream ribbons from vector volume data Transparency 3-D scatter plot Set or query transpareney properties for obiects in streamslice stem Plot discrete sequence data alpha current axes streamtube Draws stream tubes from vector volume data Corvex hull alphamap Specify the figure alphamap surKpatch Convert srface data to patch data delaunay Delaunay triangulation alim Set or query the axes alpha limits subvolume Extract subset of volume data set dsearch Search Delaunay triangulation for nearest point Retum coordinate and color limits for volume volumebounds scalar and vector) Color Operations polyarea Area of polygon tsearch Search for enclosing Delaunay triangle brighten Brighten or darken color map Pscudocolor axis scaling Voronoi diagram caxis Domain Generation colorbar Display color bar(color scale) griddata Data gridding and surface fitting colordef mesherid Generation of X and Y arrays for 3Dplots View Control colormap Set the color look-up table(list of colormaps) camdolly Move camera position and target graymon camlookat View specific objects Hue-saturation-value to red-green-blue comversion Specialized Plotting hsv2rgb camorbit Orbit about camera target rgb2hsv RGB to HSVconversion area Area plot campan Rotate camera target about camera position rgbplot Plot color map box Axis box for 2-D and 3-D plots campos Set or get camera position shading Color shading mode comet Comet plot camproj Set or get projection type spinmap Spin the colormap compass Compassplot Rotate camera about viewing axis surfnorm 3-D surface normal errorbar Plot graph with error bars camtarget Set or get camera target whitebo Change axes background color for plots ezcontour Easy to use contour plotter ezcontourf camup Set or get camera up-vector Easy to use filled contour plotter camva Set or get camera view angle ezmesh Easy to use 3Dmesh plotter camzoom Zoom camera in or out Colormaps Easy to use combination mesh/contour plotter daspect Setor get data aspect ratio Shades of red and yellow color map ezplot Easy to use function plotter Gray-scale with a tinge of blue color map
flow Generate scalar volume data interpstreamspeed Interpolate streamline vertices from vector-field magnitudes isocaps Compute isosurface end-cap geometry isocolors Compute the colors of isosurface vertices isonormals Compute normals of isosurface vertices isosurface Extract isosurface data from volume data reducepatch Reduce the number of patch faces reducevolume Reduce number of elements in volume data set shrinkfaces Reduce the size of patch faces slice Draw slice planes in volume smooth3 Smooth 3-D data stream2 Compute 2-D stream line data stream3 Compute 3-D stream line data streamline Draw stream lines from 2- or 3-D vector data streamparticles Draws stream particles from vector volume data streamribbon Draws stream ribbons from vector volume data streamslice Draws well-spaced stream lines from vector volume data streamtube Draws stream tubes from vector volume data surf2patch Convert srface data to patch data subvolume Extract subset of volume data set volumebounds Return coordinate and color limits for volume (scalar and vector) Domain Generation griddata Data gridding and surface fitting meshgrid Generation of X and Y arrays for 3-D plots Specialized Plotting area Area plot box Axis box for 2-D and 3-D plots comet Comet plot compass Compass plot errorbar Plot graph with error bars ezcontour Easy to use contour plotter ezcontourf Easy to use filled contour plotter ezmesh Easy to use 3-D mesh plotter ezmeshc Easy to use combination mesh/contour plotter ezplot Easy to use function plotter ezplot3 Easy to use 3-D parametric curve plotter ezpolar Easy to use polar coordinate plotter ezsurf Easy to use 3-D colored surface plotter ezsurfc Easy to use combination surface/contour plotter feather Feather plot fill Draw filled 2-D polygons fplot Plot a function pareto Pareto char pie3 3-D pie plot plotmatrix Scatter plot matrix pcolor Pseudocolor (checkerboard) plot rose Plot rose or angle histogram quiver Quiver (or velocity) plot ribbon Ribbon plot stairs Stairstep graph scatter Scatter plot scatter3 3-D scatter plot stem Plot discrete sequence data convhull Convex hull delaunay Delaunay triangulation dsearch Search Delaunay triangulation for nearest point inpolygon True for points inside a polygonal region polyarea Area of polygon tsearch Search for enclosing Delaunay triangle voronoi Voronoi diagram View Control camdolly Move camera position and target camlookat View specific objects camorbit Orbit about camera target campan Rotate camera target about camera position campos Set or get camera position camproj Set or get projection type camroll Rotate camera about viewing axis camtarget Set or get camera target camup Set or get camera up-vector camva Set or get camera view angle camzoom Zoom camera in or out daspect Set or get data aspect ratio pbaspect Set or get plot box aspect ratio view 3-D graph viewpoint specification. viewmtx Generate view transformation matrices xlim Set or get the current x-axis limits ylim Set or get the current y-axis limits zlim Set or get the current z-axis limits Lighting camlight Cerate or position Light light Light object creation function lighting Lighting mode lightangle Position light in sphereical coordinates material Material reflectance mode Transparency alpha Set or query transparency properties for objects in current axes alphamap Specify the figure alphamap alim Set or query the axes alpha limits Color Operations brighten Brighten or darken color map caxis Pseudocolor axis scaling colorbar Display color bar (color scale) colordef Set up color defaults colormap Set the color look-up table (list of colormaps) graymon Graphics figure defaults set for grayscale monitor hsv2rgb Hue-saturation-value to red-green-blue conversion rgb2hsv RGB to HSVconversion rgbplot Plot color map shading Color shading mode spinmap Spin the colormap surfnorm 3-D surface normals whitebg Change axes background color for plots Colormaps autumn Shades of red and yellow color map bone Gray-scale with a tinge of blue color map
contras Gray color map to enhance image contras setapndata Specify application data cool Shades of cyan and magenta color map copper Linear copper-tone color map Interactive User Input flag Altemating red,white,blue,and black color map Handle Graphics,Object Creation Graphical input from a mouse or curso Linear gray-scale oor map 宝es Create Axes object zoom Zoom in and out on a 2-Dplot gray Black-red-yellow-white color map figure Create Figure (graph)windows hsv Hue-saturation-value (HSV)color map image Create Image(2-D matrix) Region of Interest jet Variant of HSV light Create Light object (Patch and Surface) dragrect Drag XOR rectangles with mous lines Line coloc colormap line Create Line object(3-D polylines) prism Colormap of prism colors patch Create Patch object (polvgons) drawnow Complete any pending drawing rectangle Create Rectangle object (2-D rectangle) Rubberband box spring Shades of magenta and yellow color map surface s田mer Shades of green and yellow colomap Create Surface(quadrilaterals) Graphical User Interfaces winter Shades ofblue and green color map text Create Text object (character strings) Create contex menu(popup associated with object) Dialog Boxes Root dialog Create a dialog box Printing Figure errordig Create error dialog box orient Hardcopy paper orientation Axes Uicontrol Uimenu Uicontextmenu Display help dialog box p造zesetupdlg Page dialog box Image Light L.ine Patch Rectangle Surface Text inputdlg Create input dialog box Print graph or save graph to file Create list selection dialog box printdlg Print dialog box Handle Graphics,Figure Windows Create message dialog box printopt capture Screen capture of the current figure Display pae layou saveas Save figure to graphic file Clear figure window Display print dialog box Clear figure questdlg Create question dialog box close Close specified window Display alog box to retrieve name offile for reading Handle Graphics,General Default close request function uiputfile Display dialog box to retrieve name of file for writing allchild Find all children of specified objects gef Get current figure handle Interactively set a ColorSpec using a dialog box copyobj Make a copy ofa graphics object and its children newplot Graphics M-file preamble for NextPlot property Interactively set a font using a dialog bow findall Find all graphics objects(including hidden handles) refresh Refresh figure warndlg Create waming dialog box findobj Find objects with specified propery values saveas Save figure r model to desired oupu format Retum object whose callback is currently executing gco Retum handle of current object User Interface Deployment get Getobject properties Handle Graphics,Axes guidata rotate Rotate objects about specified origin and direction Plot axis scaling and appearance guihandles Create a structure of handles ishandle ClearAxes movegui Move GUl figure onscreen set Set object properties Get current Axes handle openfig Open or raise GUI figure Working with Application Data Object Manipulation User Interface Development getappdata reset Reset axis or figure guide Open the GUI Layout Edito isappdata rotate3d Interactively rotate the viewofa 3-D plot Display Property Inspector rmappdata Remove application data selectmoveresive Interactively select,move,or resize obiects
contrast Gray color map to enhance image contrast cool Shades of cyan and magenta color map copper Linear copper-tone color map flag Alternating red, white, blue, and black color map gray Linear gray-scale color map hot Black-red-yellow-white color map hsv Hue-saturation-value (HSV) color map jet Variant of HSV lines Line color colormap prism Colormap of prism colors spring Shades of magenta and yellow color map summer Shades of green and yellow colormap winter Shades of blue and green color map Printing orient Hardcopy paper orientation pagesetupdlg Page position dialog box print Print graph or save graph to file printdlg Print dialog box printopt Configure local printer defaults saveas Save figure to graphic file Handle Graphics, General allchild Find all children of specified objects copyobj Make a copy of a graphics object and its children findall Find all graphics objects (including hidden handles) findobj Find objects with specified property values gcbo Return object whose callback is currently executing gco Return handle of current object get Get object properties rotate Rotate objects about specified origin and direction ishandle True for graphics objects set Set object properties Working with Application Data getappdata Get value of application data isappdata True if applicat ion data exists rmappdata Remove application data setappdata Specify application data Handle Graphics, Object Creation axes Create Axes object figure Create Figure (graph) windows image Create Image (2-D matrix) light Create Light object (illuminates Patch and Surface) line Create Line object (3-D polylines) patch Create Patch object (polygons) rectangle Create Rectangle object (2-D rectangle) surface Create Surface (quadrilaterals) text Create Text object (character strings) uicontextmenu Create context menu (popup associated with object) Handle Graphics, Figure Windows capture Screen capture of the current figure clc Clear figure window clf Clear figure close Close specified window closereq Default close request function gcf Get current figure handle newplot Graphics M-file preamble for NextPlot property refresh Refresh figure saveas Save figure or model to desired output format Handle Graphics, Axes axis Plot axis scaling and appearance cla Clear Axes gca Get current Axes handle Object Manipulation reset Reset axis or figure rotate3d Interactively rotate the view of a 3-D plot selectmoveresize Interactively select, move, or resize objects Interactive User Input ginput Graphical input from a mouse or cursor zoom Zoom in and out on a 2-D plot Region of Interest dragrect Drag XOR rectangles with mouse drawnow Complete any pending drawing rbbox Rubberband box Graphical User Interfaces Dialog Boxes dialog Create a dialog box errordlg Create error dialog box helpdlg Display help dialog box inputdlg Create input dialog box listdlg Create list selection dialog box msgbox Create message dialog box pagedlg Display page layout dialog box printdlg Display print dialog box questdlg Create question dialog box uigetfile Display dialog box to retrieve name of file for reading uiputfile Display dialog box to retrieve name of file for writing uisetcolor Interactively set a ColorSpec using a dialog box uisetfont Interactively set a font using a dialog box warndlg Create warning dialog box User Interface Deployment guidata Store or retrieve application data guihandles Create a structure of handles movegui Move GUI figure onscreen openfig Open or raise GUI figure User Interface Development guide Open the GUI Layout Editor inspect Display Property Inspector
MATLAB Interface to Java mex WarnMsg Txt ssue waming message mxGetCell Get cell's contents class Create object or retum class of object Get mxArrays class import Add a package or class to the current Java import list mxGetclassName isa Detect an object of a givenclass C MX Functions Get mxAray's class mxGetData Giet pointer todata isjava Test whether an object is a Java object mxAddField Add field to structure array mxGetDimensions Get pointer to dimensions array javaArray Constructs a Java array mxArrayToString Convert arrays to strings mxGetElementSize javaMethod Invokes a Java method mxAssert Check assertion value javaObject Constructs a Java object mxAsserts Check assertion value,doesn't print mxGetEps Get value of eps assertion's text methods Display method names mxGetField Return offset from first element to desired eynmethods impemnte b clement class mxGetFieldBy Number mxCalloc Allocate dynamic memory Get field value,given field number and index n structure array mxChar String mxArrays data type Get field name,given field number in External Programming Interface mr▣assID Enumerated data type that identifies structure array C MEX-Functions mxArray's class mxGetFieldNumber mexAtExit Clear logical flag er function to be called when mxClearLogical MATLAB is cleared or terminates Get pointer to imaginary data of mxArrav mxComplexity Specifies if mxArray has imaginary mxGetimagData mexCallMATLAB mxGetinf Get value of infinity Create unpopulated N-dimensionl cell Get ir array of mxArray mexErrMsgTxt Issue error message and return to MATLAB mxGetJe mexEvalString ute MATLAB command in caller's mxGetM Get number ofrows mxGetN mexFunction Entry point to C MEX-file mxCreateCharArray Create unpopulated N-dimensional string fmrof Name ofcurrent MEX-fiunction CharMatrixFr Create populatedtwo-dimensional sring mxGetName mexGet Get value of Handle Graphics property mxArray mxGetNaN Get the valuc of NaN mexGetArray Get copy of variable from another workspace Create nl. do Get number of dimensions inter to variable from nt n mexGetArrayPtr mxCreateNumericArray Create unpopulated N-dimensional numeric mxGetNumbe rOfElemen Get number of elements in array mxArray ts ri mexIsLocked True if MEX-file is locked matrix and initialize data Giet number of fields in structure mxArray elements too mxGret\zmax Get number of elements in ir,pr,and pi mexLock arrays mex MakeArrayPersisten Make mxArray persist after MEX-file mxGetPi Get mxArravs imaginary data clements completes mxCreateSparse Create two-dimensional unpopulated sparse mxArray mxGetPr Get mxArray's real data elements allocated by MATLAB mxCreateString Get real component of mxArray's first data specified string element MEX-file completes ANSI Cprintf-style output routin mxCreateStructArray Create unpopulated N-dimensional structure mxGetString Cnd恤oco水 mexPutArray Copy mxArray from your MEX-file into another workspace mxCreateStructMatrix Create unpopulated two-dimensional mxlsCell True if cell mxArray structure mxArray mxIsChar True if string mxArray mexSet Set value of Handle Graphics property mory allocated by an True if mxArray is member of specified class mexSerTrapFlag Control response of mexCallMATLAB to errors mxIsComplex True if data is complex mxDuplieateArray Unlock MEX-file so it can be cleared from Make deep copy of array mexUnlock Free dynamic memory allocated by mxCalloc double memory
MATLAB Interface to Java class Create object or return class of object import Add a package or class to the current Java import list isa Detect an object of a given class isjava Test whether an object is a Java object javaArray Constructs a Java array javaMethod Invokes a Java method javaObject Constructs a Java object methods Display method names methodsview Displays information on all methods implemented by a class External Programming Interface C MEX-Functions mexAtExit Register function to be called when MATLAB is cleared or terminates mexCallMATLAB Call MATLAB function or user-defined Mfile or MEX-file mexErrMsgTxt Issue error message and return to MATLAB mexEvalString Execute MATLAB command in caller's workspace mexFunction Entry point to C MEX-file mexFunctionName Name of current MEX-function mexGet Get value of Handle Graphics property mexGetArray Get copy of variable from another workspace mexGetArrayPtr Get read-only pointer to variable from another workspace mexIsGlobal True if mxArray has global scope mexIsLocked True if MEX-file is locked mexLock Lock MEX-file so it cannot be cleared from memory mexMakeArrayPersisten t Make mxArray persist after MEX-file completes mexMakeMemoryPersist ent Make memory allocated by MATLAB's memory allocation routines persist after MEX-file completes mexPrintf ANSI C printf-style output routine mexPutArray Copy mxArray from your MEX-file into another workspace mexSet Set value of Handle Graphics property mexSetTrapFlag Control response of mexCallMATLAB to errors mexUnlock Unlock MEX-file so it can be cleared from memory mexWarnMsgTxt Issue warning message C MX Functions mxAddField Add field to structure array mxArrayToString Convert arrays to strings mxAssert Check assertion value mxAssertS Check assertion value; doesn't print assertion's text mxCalcSingleSubscript Return offset from first element to desired element mxCalloc Allocate dynamic memory mxChar String mxArrays data type mxClassID Enumerated data type that identifies mxArray's class mxClearLogical Clear logical flag mxComplexity Specifies if mxArray has imaginary components mxCreateCellArray Create unpopulated N-dimensional cell mxArray mxCreateCellMatrix Create unpopulated two-dimensional cell mxArray mxCreateCharArray Create unpopulated N-dimensional string mxArray mxCreateCharMatrixFr omStrings Create populated t wo-dimensional string mxArray mxCreateDoubleMatrix Create unpopulated two-dimensional, doubleprecision, floating-point mxArray mxCreateNumericArray Create unpopulated N-dimensional numeric mxArray mxCreateNumericMatrix Create numeric matrix and initialize data elements to 0 mxCreateScalarDouble Create scalar, double-precision array initialized to specified value mxCreateSparse Create two-dimensional unpopulated sparse mxArray mxCreateString Create 1-by-n string mxArray initialized to specified strin g mxCreateStructArray Create unpopulated N-dimensional structure mxArray mxCreateStructMatrix Create unpopulated two-dimensional structure mxArray mxDestroyArray Free dynamic memory allocated by an mxCreate routine mxDuplicateArray Make deep copy of array mxFree Free dynamic memory allocated by mxCalloc mxGetCell Get cell's contents mxGetClassID Get mxArray's class mxGetClassName Get mxArray's class mxGetData Get pointer to data mxGetDimensions Get pointer to dimensions array mxGetElementSize Get number of bytes required to store each data element mxGetEps Get value of eps mxGetField Get field value, given field name and index in structure array mxGetFieldByNumber Get field value, given field number and index in structure array mxGetFieldNameByNum ber Get field name, given field number in structure array mxGetFieldNumber Get field number, given field name in structure array mxGetImagData Get pointer to imaginary data of mxArray mxGetInf Get value of infinity mxGetIr Get ir array of sparse matrix mxGetJc Get jc array of sparse matrix mxGetM Get number of rows mxGetN Get number of columns or number of elements mxGetName Get name of specified mxArray mxGetNaN Get the value of NaN mxGetNumberOfDimens ions Get number of dimensions mxGetNumbe rOfElemen ts Get number of elements in array mxGetNumberOfFields Get number of fields in structure mxArray mxGetNzmax Get number of elements in ir, pr, and pi arrays mxGetPi Get mxArray's imaginary data elements mxGetPr Get mxArray's real data elements mxGetScalar Get real component of mxArray's first data element mxGetString Copy string mxArray's data into C-style string mxIsCell True if cell mxArray mxIsChar True if string mxArray mxIsClass True if mxArray is member of specified class mxIsComplex True if data is complex mxIsDouble True if mxArray represents its data as doubleprecision, floating-point numbers