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