8/13/2019 MATLAB Documentation - MathWorks India
1/62
FunctionsBy Category |Alphabet ical List
Language Fundamentals
Entering Commands
ans Most recent answ er
clc Clear Command Window
diary Save Command Window text to f ile
format Set display format for output
home Send cursor home
iskeyword Determine w hether input is MATLAB keyw ord
more Control paged output for Command Window
commandhistory Open Command History w indow, or select it if already open
commandwindow Open Command Window, or select it if already open
Matrices andArrays
Array Creation and Concatenation
accumarray Construct array w ith accumulation
blkdiag Construct block diagonal matrix from input arguments
diag Diagonal matrices and diagonals of matrix
eye Identity matrix
false Logical 0 (false)
freqspace Frequency spacing for f requency response
linspace Generate linearly spaced vectors
logspace Generate logarithmically spaced vectors
meshgrid Rectangular grid in 2-D and 3-D space
ndgrid Rectangular grid in N-D space
ones Create array of all ones
rand Uniformly distributed pseudorandom numbers
true Logical 1 (true)
zeros Create array of all zeros
cat Concatenate arrays along specif ied dimension
horzcat Concatenate arrays hor izontally
vertcat Concatenate arrays vertically
Indexing
colon Create vectors, array subscripting, and for-loop iterators
end Terminate block of code, or indicate last array index
ind2sub Subscripts from linear index
sub2ind Convert subscripts to linear indices
http://www.mathworks.in/help/matlab/ref/sub2ind.htmlhttp://www.mathworks.in/help/matlab/ref/vertcat.htmlhttp://www.mathworks.in/help/matlab/ref/horzcat.htmlhttp://www.mathworks.in/help/matlab/ref/cat.htmlhttp://www.mathworks.in/help/matlab/ref/rand.htmlhttp://www.mathworks.in/help/matlab/ref/ones.htmlhttp://www.mathworks.in/help/matlab/ref/logspace.htmlhttp://www.mathworks.in/help/matlab/ref/linspace.htmlhttp://www.mathworks.in/help/matlab/ref/false.htmlhttp://www.mathworks.in/help/matlab/ref/blkdiag.htmlhttp://www.mathworks.in/help/matlab/ref/commandwindow.htmlhttp://www.mathworks.in/help/matlab/ref/commandhistory.htmlhttp://www.mathworks.in/help/matlab/ref/home.htmlhttp://www.mathworks.in/help/matlab/ref/format.htmlhttp://www.mathworks.in/help/matlab/ref/diary.htmlhttp://www.mathworks.in/help/matlab/ref/sub2ind.htmlhttp://www.mathworks.in/help/matlab/ref/ind2sub.htmlhttp://www.mathworks.in/help/matlab/ref/end.htmlhttp://www.mathworks.in/help/matlab/ref/colon.htmlhttp://www.mathworks.in/help/matlab/ref/vertcat.htmlhttp://www.mathworks.in/help/matlab/ref/horzcat.htmlhttp://www.mathworks.in/help/matlab/ref/cat.htmlhttp://www.mathworks.in/help/matlab/ref/zeros.htmlhttp://www.mathworks.in/help/matlab/ref/true.htmlhttp://www.mathworks.in/help/matlab/ref/rand.htmlhttp://www.mathworks.in/help/matlab/ref/ones.htmlhttp://www.mathworks.in/help/matlab/ref/ndgrid.htmlhttp://www.mathworks.in/help/matlab/ref/meshgrid.htmlhttp://www.mathworks.in/help/matlab/ref/logspace.htmlhttp://www.mathworks.in/help/matlab/ref/linspace.htmlhttp://www.mathworks.in/help/matlab/ref/freqspace.htmlhttp://www.mathworks.in/help/matlab/ref/false.htmlhttp://www.mathworks.in/help/matlab/ref/eye.htmlhttp://www.mathworks.in/help/matlab/ref/diag.htmlhttp://www.mathworks.in/help/matlab/ref/blkdiag.htmlhttp://www.mathworks.in/help/matlab/ref/accumarray.htmlhttp://www.mathworks.in/help/matlab/ref/commandwindow.htmlhttp://www.mathworks.in/help/matlab/ref/commandhistory.htmlhttp://www.mathworks.in/help/matlab/ref/more.htmlhttp://www.mathworks.in/help/matlab/ref/iskeyword.htmlhttp://www.mathworks.in/help/matlab/ref/home.htmlhttp://www.mathworks.in/help/matlab/ref/format.htmlhttp://www.mathworks.in/help/matlab/ref/diary.htmlhttp://www.mathworks.in/help/matlab/ref/clc.htmlhttp://www.mathworks.in/help/matlab/ref/ans.htmlhttp://www.mathworks.in/help/matlab/functionlist-alpha.html8/13/2019 MATLAB Documentation - MathWorks India
2/62
Array Dime nsions
length Length of vector or largest array dimension
ndims Number of array dimensions
numel Number of array elements
size Array dimensions
height Number of table row s
width Number of table variablesiscolumn Determine w hether input is column vector
isempty Determine w hether array is empty
ismatrix Determine w hether input is matrix
isrow Determine whether input is row vector
isscalar Determine w hether input is scalar
isvector Determine w hether input is vector
Sorting and Reshaping Arrays
blkdiag Construct block diagonal matrix from input arguments
circshift Shift array circularly
ctranspose Complex conjugate transpose
diag Diagonal matrices and diagonals of matrix
flip Flip order of elements
flipdim Flip array along specif ied dimension
fliplr Flip matrix left to right
flipud Flip matrix up to dow n
ipermute Inverse permute dimensions of N-D array
permute Rearrange dimensions of N-D array
repmat Replicate and tile array
reshape Reshape array
rot90 Rotate matrix 90 degrees
shiftdim Shift dimensions
issorted Determine w hether set elements are in sorted order
sort Sort array elements in ascending or descending order
sortrows Sort row s in ascending order
squeeze Remove singleton dimensions
transpose Transpose
vectorize Vectorize expression
Operators and Elementary Operations
Arithmetic
plus Addition
uplus Unary plus
minus Subtraction
http://www.mathworks.in/help/matlab/ref/minus.htmlhttp://www.mathworks.in/help/matlab/ref/uplus.htmlhttp://www.mathworks.in/help/matlab/ref/plus.htmlhttp://www.mathworks.in/help/matlab/ref/vectorize.htmlhttp://www.mathworks.in/help/matlab/ref/transpose.htmlhttp://www.mathworks.in/help/matlab/ref/squeeze.htmlhttp://www.mathworks.in/help/matlab/ref/sortrows.htmlhttp://www.mathworks.in/help/matlab/ref/sort.htmlhttp://www.mathworks.in/help/matlab/ref/issorted.htmlhttp://www.mathworks.in/help/matlab/ref/shiftdim.htmlhttp://www.mathworks.in/help/matlab/ref/rot90.htmlhttp://www.mathworks.in/help/matlab/ref/reshape.htmlhttp://www.mathworks.in/help/matlab/ref/repmat.htmlhttp://www.mathworks.in/help/matlab/ref/permute.htmlhttp://www.mathworks.in/help/matlab/ref/ipermute.htmlhttp://www.mathworks.in/help/matlab/ref/flipud.htmlhttp://www.mathworks.in/help/matlab/ref/fliplr.htmlhttp://www.mathworks.in/help/matlab/ref/flipdim.htmlhttp://www.mathworks.in/help/matlab/ref/flip.htmlhttp://www.mathworks.in/help/matlab/ref/diag.htmlhttp://www.mathworks.in/help/matlab/ref/ctranspose.htmlhttp://www.mathworks.in/help/matlab/ref/circshift.htmlhttp://www.mathworks.in/help/matlab/ref/blkdiag.htmlhttp://www.mathworks.in/help/matlab/ref/isvector.htmlhttp://www.mathworks.in/help/matlab/ref/isscalar.htmlhttp://www.mathworks.in/help/matlab/ref/isrow.htmlhttp://www.mathworks.in/help/matlab/ref/ismatrix.htmlhttp://www.mathworks.in/help/matlab/ref/isempty.htmlhttp://www.mathworks.in/help/matlab/ref/iscolumn.htmlhttp://www.mathworks.in/help/matlab/ref/width.htmlhttp://www.mathworks.in/help/matlab/ref/height.htmlhttp://www.mathworks.in/help/matlab/ref/size.htmlhttp://www.mathworks.in/help/matlab/ref/numel.htmlhttp://www.mathworks.in/help/matlab/ref/ndims.htmlhttp://www.mathworks.in/help/matlab/ref/length.html8/13/2019 MATLAB Documentation - MathWorks India
3/62
uminus Unary minus
times Element-w ise multiplication
rdivide Right array division
ldivide Left array division
power Element-w ise pow er
mtimes Matrix Multiplication
mrdivide Solve systems of linear equations xA = B for x
mldivide Solve systems of linear equations Ax = B for x
mpower Matrix pow er
cumprod Cumulative product
cumsum Cumulative sum
diff Differences and Approximate Derivatives
prod Product of array elements
sum Sum of array elements
ceil Round tow ard positive infinity
fix Round tow ard zero
floor Round tow ard negative infinity
idivide Integer division w ith rounding option
mod Modulus after division
rem Remainder after division
round Round to nearest integer
Relational Operations
Relational Operators Relational operations
eq Determine equality
ge Determine greater than or equal to
gt Determine greater than
le Determine less than or equal to
lt Determine less than
ne Determine inequality
isequal Determine array equality
isequaln Determine array equality, treating NaN values as equal
Logical Oper ations
Logical Operators:
Elementwise
Elementw ise logical operations on arrays
Logical Operators: Short-
circuit
Logical operations, w ith short-circuiting capability
and Find logical AND of array or scalar inputs
not Find logical NOT of array or scalar input
or Find logical OR of array or scalar inputs
xor Logical exclusive-OR
http://www.mathworks.in/help/matlab/ref/xor.htmlhttp://www.mathworks.in/help/matlab/ref/or.htmlhttp://www.mathworks.in/help/matlab/ref/not.htmlhttp://www.mathworks.in/help/matlab/ref/and.htmlhttp://www.mathworks.in/help/matlab/ref/logicaloperatorsshortcircuit.htmlhttp://www.mathworks.in/help/matlab/ref/logicaloperatorselementwise.htmlhttp://www.mathworks.in/help/matlab/ref/isequaln.htmlhttp://www.mathworks.in/help/matlab/ref/isequal.htmlhttp://www.mathworks.in/help/matlab/ref/ne.htmlhttp://www.mathworks.in/help/matlab/ref/lt.htmlhttp://www.mathworks.in/help/matlab/ref/le.htmlhttp://www.mathworks.in/help/matlab/ref/gt.htmlhttp://www.mathworks.in/help/matlab/ref/ge.htmlhttp://www.mathworks.in/help/matlab/ref/eq.htmlhttp://www.mathworks.in/help/matlab/ref/relationaloperators.htmlhttp://www.mathworks.in/help/matlab/ref/round.htmlhttp://www.mathworks.in/help/matlab/ref/rem.htmlhttp://www.mathworks.in/help/matlab/ref/mod.htmlhttp://www.mathworks.in/help/matlab/ref/idivide.htmlhttp://www.mathworks.in/help/matlab/ref/floor.htmlhttp://www.mathworks.in/help/matlab/ref/fix.htmlhttp://www.mathworks.in/help/matlab/ref/ceil.htmlhttp://www.mathworks.in/help/matlab/ref/sum.htmlhttp://www.mathworks.in/help/matlab/ref/prod.htmlhttp://www.mathworks.in/help/matlab/ref/diff.htmlhttp://www.mathworks.in/help/matlab/ref/cumsum.htmlhttp://www.mathworks.in/help/matlab/ref/cumprod.htmlhttp://www.mathworks.in/help/matlab/ref/mpower.htmlhttp://www.mathworks.in/help/matlab/ref/mldivide.htmlhttp://www.mathworks.in/help/matlab/ref/mrdivide.htmlhttp://www.mathworks.in/help/matlab/ref/mtimes.htmlhttp://www.mathworks.in/help/matlab/ref/power.htmlhttp://www.mathworks.in/help/matlab/ref/ldivide.htmlhttp://www.mathworks.in/help/matlab/ref/rdivide.htmlhttp://www.mathworks.in/help/matlab/ref/times.htmlhttp://www.mathworks.in/help/matlab/ref/uminus.html8/13/2019 MATLAB Documentation - MathWorks India
4/62
all Determine if all array elements are nonzero or true
any Determine if any array elements are nonzero
false Logical 0 (false)
find Find indices and values of nonzero elements
islogical Determine if input is logical array
logical Convert numeric values to logicals
true Logical 1 (true)
Set Operations
intersect Set intersection of tw o arrays
ismember Array elements that are members of set array
issorted Determine w hether set elements are in sorted order
setdiff Set difference of tw o arrays
setxor Set exclusive OR of tw o arrays
union Set union of tw o arrays
unique Unique values in array
join Merge tw o tables by matching up row s using key variables
innerjoin Inner join betw een tw o tables
outerjoin Outer join betw een tw o tables
Bit-Wise Operations
bitand Bit-w ise AND
bitcmp Bit-w ise complement
bitget Get bit at specif ied positionbitor Bit-w ise OR
bitset Set bit at specific location
bitshift Shift bits specified number of places
bitxor Bit-w ise XOR
swapbytes Sw ap byte ordering
Special Characters
Special Characters Special characters
colon Create vectors, array subscripting, and for-loop iterators
Data Types
Numeric Types
double Convert to double precision
single Convert to single precision
int8 Convert to 8-bit s igned integer
int16 Convert to 16-bit s igned integer
http://www.mathworks.in/help/matlab/ref/int16.htmlhttp://www.mathworks.in/help/matlab/ref/int8.htmlhttp://www.mathworks.in/help/matlab/ref/single.htmlhttp://www.mathworks.in/help/matlab/ref/double.htmlhttp://www.mathworks.in/help/matlab/ref/colon.htmlhttp://www.mathworks.in/help/matlab/ref/specialcharacters.htmlhttp://www.mathworks.in/help/matlab/ref/swapbytes.htmlhttp://www.mathworks.in/help/matlab/ref/bitxor.htmlhttp://www.mathworks.in/help/matlab/ref/bitshift.htmlhttp://www.mathworks.in/help/matlab/ref/bitset.htmlhttp://www.mathworks.in/help/matlab/ref/bitor.htmlhttp://www.mathworks.in/help/matlab/ref/bitget.htmlhttp://www.mathworks.in/help/matlab/ref/bitcmp.htmlhttp://www.mathworks.in/help/matlab/ref/bitand.htmlhttp://www.mathworks.in/help/matlab/ref/outerjoin.htmlhttp://www.mathworks.in/help/matlab/ref/innerjoin.htmlhttp://www.mathworks.in/help/matlab/ref/join.htmlhttp://www.mathworks.in/help/matlab/ref/unique.htmlhttp://www.mathworks.in/help/matlab/ref/union.htmlhttp://www.mathworks.in/help/matlab/ref/setxor.htmlhttp://www.mathworks.in/help/matlab/ref/setdiff.htmlhttp://www.mathworks.in/help/matlab/ref/issorted.htmlhttp://www.mathworks.in/help/matlab/ref/ismember.htmlhttp://www.mathworks.in/help/matlab/ref/intersect.htmlhttp://www.mathworks.in/help/matlab/ref/true.htmlhttp://www.mathworks.in/help/matlab/ref/logical.htmlhttp://www.mathworks.in/help/matlab/ref/islogical.htmlhttp://www.mathworks.in/help/matlab/ref/find.htmlhttp://www.mathworks.in/help/matlab/ref/false.htmlhttp://www.mathworks.in/help/matlab/ref/any.htmlhttp://www.mathworks.in/help/matlab/ref/all.html8/13/2019 MATLAB Documentation - MathWorks India
5/62
int32 Convert to 32-bit s igned integer
int64 Convert to 64-bit s igned integer
uint8 Convert to 8-bit unsigned integer
uint16 Convert to 16-bit unsigned integer
uint32 Convert to 32-bit unsigned integer
uint64 Convert to 64-bit unsigned integer
cast Cast variable to different data type
typecast Convert data types w ithout changing underlying data
isinteger Determine if input is integer array
isfloat Determine if input is f loating-point array
isnumeric Determine if input is numeric array
isreal Check if input is real array
isfinite Array elements that are finite
isinf Array elements that are infinite
isnan Array elements that are NaN
eps Floating-point relative accuracy
flintmax Largest consecutive integer in floating-point format
Inf Infinity
intmax Largest value of specified integer type
intmin Smallest value of specified integer type
NaN Not-a-Number
realmax Largest positive f loating-point number
realmin Smallest positive normalized floating-point number
Characters and Strings
Create and Concatenate Strings
blanks Create string of blank characters
cellstr Create cell array of strings from character array
char Convert to character array (string)
iscellstr Determine whether input is cell array of strings
ischar Determine w hether item is charac ter array
sprintf Format data into string
strcat Concatenate strings hor izontally
strjoin Join strings in cell array into single string
Parse Strings
ischar Determine w hether item is charac ter array
isletter Array elements that are alphabetic letters
isspace Array elements that are space characters
isstrprop Determine whether string is of specified category
sscanf Read formatted data f rom string
strfind Find one str ing w ithin another
http://www.mathworks.in/help/matlab/ref/strfind.htmlhttp://www.mathworks.in/help/matlab/ref/sscanf.htmlhttp://www.mathworks.in/help/matlab/ref/isstrprop.htmlhttp://www.mathworks.in/help/matlab/ref/isspace.htmlhttp://www.mathworks.in/help/matlab/ref/isletter.htmlhttp://www.mathworks.in/help/matlab/ref/ischar.htmlhttp://www.mathworks.in/help/matlab/ref/strjoin.htmlhttp://www.mathworks.in/help/matlab/ref/strcat.htmlhttp://www.mathworks.in/help/matlab/ref/sprintf.htmlhttp://www.mathworks.in/help/matlab/ref/ischar.htmlhttp://www.mathworks.in/help/matlab/ref/iscellstr.htmlhttp://www.mathworks.in/help/matlab/ref/char.htmlhttp://www.mathworks.in/help/matlab/ref/cellstr.htmlhttp://www.mathworks.in/help/matlab/ref/blanks.htmlhttp://www.mathworks.in/help/matlab/ref/realmin.htmlhttp://www.mathworks.in/help/matlab/ref/realmax.htmlhttp://www.mathworks.in/help/matlab/ref/nan.htmlhttp://www.mathworks.in/help/matlab/ref/intmin.htmlhttp://www.mathworks.in/help/matlab/ref/intmax.htmlhttp://www.mathworks.in/help/matlab/ref/inf.htmlhttp://www.mathworks.in/help/matlab/ref/flintmax.htmlhttp://www.mathworks.in/help/matlab/ref/eps.htmlhttp://www.mathworks.in/help/matlab/ref/isnan.htmlhttp://www.mathworks.in/help/matlab/ref/isinf.htmlhttp://www.mathworks.in/help/matlab/ref/isfinite.htmlhttp://www.mathworks.in/help/matlab/ref/isreal.htmlhttp://www.mathworks.in/help/matlab/ref/isnumeric.htmlhttp://www.mathworks.in/help/matlab/ref/isfloat.htmlhttp://www.mathworks.in/help/matlab/ref/isinteger.htmlhttp://www.mathworks.in/help/matlab/ref/typecast.htmlhttp://www.mathworks.in/help/matlab/ref/cast.htmlhttp://www.mathworks.in/help/matlab/ref/uint64.htmlhttp://www.mathworks.in/help/matlab/ref/uint32.htmlhttp://www.mathworks.in/help/matlab/ref/uint16.htmlhttp://www.mathworks.in/help/matlab/ref/uint8.htmlhttp://www.mathworks.in/help/matlab/ref/int64.htmlhttp://www.mathworks.in/help/matlab/ref/int32.html8/13/2019 MATLAB Documentation - MathWorks India
6/62
strrep Find and replace substring
strsplit Split string at specified delimiter
strtok Selected parts of string
validatestring Check validity of text string
symvar Determine symbolic var iables in expression
regexp Match regular expression (case sensitive)
regexpi Match regular expression (case insensitive)
regexprep Replace string using regular expression
regexptranslate Translate string into regular expression
Compare Strings
strcmp Compare strings w ith case sensitivity
strcmpi Compare strings (case insensitive)
strncmp Compare first n characters of strings (case sensitive)
strncmpi Compare first n characters of strings (case insensitive)
Change String Case, Blanks, and Justification
blanks Create string of blank characters
deblank Strip trailing blanks f rom end of string
strtrim Remove leading and trailing w hite space f rom string
lower Convert string to low ercase
upper Convert string to uppercase
strjust Justify character array
Categorical Arrays
categorical Create categorical array
iscategorical Determine w hether input is categorical array
categories Categories of categorical array
iscategory Test for categorical array categories
isordinal Determine w hether input is ordinal categorical array
isprotected Determine whether categories of categorical array are protected
addcats Add categories to categorical array
mergecats Merge categories in categorical array
removecats Remove categories f rom categorical array
renamecats Rename categories in categorical array
reordercats Reorder categories in categorical array
summary Print summary of table or categorical array
countcats Count occurrences of categorical array elements by category
isundefined Find undefined elements in categorical array
Tables
http://www.mathworks.in/help/matlab/ref/isundefined.htmlhttp://www.mathworks.in/help/matlab/ref/countcats.htmlhttp://www.mathworks.in/help/matlab/ref/summary.htmlhttp://www.mathworks.in/help/matlab/ref/reordercats.htmlhttp://www.mathworks.in/help/matlab/ref/renamecats.htmlhttp://www.mathworks.in/help/matlab/ref/removecats.htmlhttp://www.mathworks.in/help/matlab/ref/mergecats.htmlhttp://www.mathworks.in/help/matlab/ref/addcats.htmlhttp://www.mathworks.in/help/matlab/ref/isprotected.htmlhttp://www.mathworks.in/help/matlab/ref/isordinal.htmlhttp://www.mathworks.in/help/matlab/ref/iscategory.htmlhttp://www.mathworks.in/help/matlab/ref/categories.htmlhttp://www.mathworks.in/help/matlab/ref/iscategorical.htmlhttp://www.mathworks.in/help/matlab/ref/categorical.htmlhttp://www.mathworks.in/help/matlab/ref/strjust.htmlhttp://www.mathworks.in/help/matlab/ref/upper.htmlhttp://www.mathworks.in/help/matlab/ref/lower.htmlhttp://www.mathworks.in/help/matlab/ref/strtrim.htmlhttp://www.mathworks.in/help/matlab/ref/deblank.htmlhttp://www.mathworks.in/help/matlab/ref/blanks.htmlhttp://www.mathworks.in/help/matlab/ref/strncmpi.htmlhttp://www.mathworks.in/help/matlab/ref/strncmp.htmlhttp://www.mathworks.in/help/matlab/ref/strcmpi.htmlhttp://www.mathworks.in/help/matlab/ref/strcmp.htmlhttp://www.mathworks.in/help/matlab/ref/regexptranslate.htmlhttp://www.mathworks.in/help/matlab/ref/regexprep.htmlhttp://www.mathworks.in/help/matlab/ref/regexpi.htmlhttp://www.mathworks.in/help/matlab/ref/regexp.htmlhttp://www.mathworks.in/help/matlab/ref/symvar.htmlhttp://www.mathworks.in/help/matlab/ref/validatestring.htmlhttp://www.mathworks.in/help/matlab/ref/strtok.htmlhttp://www.mathworks.in/help/matlab/ref/strsplit.htmlhttp://www.mathworks.in/help/matlab/ref/strrep.html8/13/2019 MATLAB Documentation - MathWorks India
7/62
table Create table from workspace variables
array2table Convert homogeneous array to table
cell2table Convert cell array to table
struct2table Convert structure array to table
table2array Convert table to homogenous array
table2cell Convert table to cell array
table2struct Convert table to structure array
readtable Create table from file
writetable Write table to file
istable Determine w hether input is table
height Number of table row s
width Number of table variables
summary Print summary of table or categorical array
intersect Set intersection of tw o arrays
ismember Array elements that are members of set array
setdiff Set difference of tw o arrays
setxor Set exclusive OR of tw o arrays
unique Unique values in array
union Set union of tw o arrays
join Merge tw o tables by matching up row s using key variables
innerjoin Inner join betw een tw o tables
outerjoin Outer join betw een tw o tables
sortrows Sort row s in ascending order
stack Stack data from multiple variables into single variable
unstack Unstack data from single variable into multiple variables
ismissing Find table elements w ith missing values
standardizeMissing Insert missing value indicators into table
varfun Apply f unction to table variables
rowfun Apply f unction to table row s
Structures
struct Create structure array
fieldnames Field names of structure, or public fields of object
getfield Field of structure array
isfield Determine whether input is structure array field
isstruct Determine whether input is structure array
orderfields Order f ields of structure array
rmfield Remove fields from structure
setfield Assign values to structure array field
arrayfun Apply f unction to each element of array
structfun Apply f unction to each field of scalar structure
cell2struct Convert cell array to structure array
http://www.mathworks.in/help/matlab/ref/cell2struct.htmlhttp://www.mathworks.in/help/matlab/ref/structfun.htmlhttp://www.mathworks.in/help/matlab/ref/arrayfun.htmlhttp://www.mathworks.in/help/matlab/ref/setfield.htmlhttp://www.mathworks.in/help/matlab/ref/rmfield.htmlhttp://www.mathworks.in/help/matlab/ref/orderfields.htmlhttp://www.mathworks.in/help/matlab/ref/isstruct.htmlhttp://www.mathworks.in/help/matlab/ref/isfield.htmlhttp://www.mathworks.in/help/matlab/ref/getfield.htmlhttp://www.mathworks.in/help/matlab/ref/fieldnames.htmlhttp://www.mathworks.in/help/matlab/ref/struct.htmlhttp://www.mathworks.in/help/matlab/ref/rowfun.htmlhttp://www.mathworks.in/help/matlab/ref/varfun.htmlhttp://www.mathworks.in/help/matlab/ref/standardizemissing.htmlhttp://www.mathworks.in/help/matlab/ref/ismissing.htmlhttp://www.mathworks.in/help/matlab/ref/unstack.htmlhttp://www.mathworks.in/help/matlab/ref/stack.htmlhttp://www.mathworks.in/help/matlab/ref/sortrows.htmlhttp://www.mathworks.in/help/matlab/ref/outerjoin.htmlhttp://www.mathworks.in/help/matlab/ref/innerjoin.htmlhttp://www.mathworks.in/help/matlab/ref/join.htmlhttp://www.mathworks.in/help/matlab/ref/union.htmlhttp://www.mathworks.in/help/matlab/ref/unique.htmlhttp://www.mathworks.in/help/matlab/ref/setxor.htmlhttp://www.mathworks.in/help/matlab/ref/setdiff.htmlhttp://www.mathworks.in/help/matlab/ref/ismember.htmlhttp://www.mathworks.in/help/matlab/ref/intersect.htmlhttp://www.mathworks.in/help/matlab/ref/summary.htmlhttp://www.mathworks.in/help/matlab/ref/width.htmlhttp://www.mathworks.in/help/matlab/ref/height.htmlhttp://www.mathworks.in/help/matlab/ref/istable.htmlhttp://www.mathworks.in/help/matlab/ref/writetable.htmlhttp://www.mathworks.in/help/matlab/ref/readtable.htmlhttp://www.mathworks.in/help/matlab/ref/table2struct.htmlhttp://www.mathworks.in/help/matlab/ref/table2cell.htmlhttp://www.mathworks.in/help/matlab/ref/table2array.htmlhttp://www.mathworks.in/help/matlab/ref/struct2table.htmlhttp://www.mathworks.in/help/matlab/ref/cell2table.htmlhttp://www.mathworks.in/help/matlab/ref/array2table.htmlhttp://www.mathworks.in/help/matlab/ref/table.html8/13/2019 MATLAB Documentation - MathWorks India
8/62
struct2cell Convert structure to cell array
Cell Arrays
cell Create cell array
cell2mat Convert cell array to numeric array
cell2struct Convert cell array to structure array
celldisp Cell array contents
cellfun Apply f unction to each cell in cell array
cellplot Graphically display structure of cell array
cellstr Create cell array of strings from character array
iscell Determine w hether input is cell array
iscellstr Determine whether input is cell array of strings
mat2cell Convert array to cell array w ith potentially diff erent sized cells
num2cell Convert array to cell array w ith consistently sized cells
strjoin Join strings in cell array into single string
strsplit Split string at specified delimiter
struct2cell Convert structure to cell array
Function Handles
function_handle (@) Handle used in calling functions indirectly
feval Evaluate function
func2str Construct function name string from function handle
str2func Construct function handle from function name string
localfunctions Function handles to all local functions in MATLAB filefunctions Information about function handle
Map Containers
containers.Map Map values to unique keys
isKey Determine if containers.Map object contains key
keys Identify keys of containers.Map object
remove Remove key-value pairs from containers.Map object
values Identify values in containers.Map object
Time Series
Time Ser ies Basics
append Concatenate time series objects in time dimension
get Query timeseries object property values
getdatasamplesize Size of data sample in timeseries object
getqualitydesc Data quality descriptions
getsamples Subset of time series samples using subscripted index array
http://www.mathworks.in/help/matlab/ref/timeseries.getsamples.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.getqualitydesc.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.getdatasamplesize.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.get.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.append.htmlhttp://www.mathworks.in/help/matlab/ref/containers.map.values.htmlhttp://www.mathworks.in/help/matlab/ref/containers.map.remove.htmlhttp://www.mathworks.in/help/matlab/ref/containers.map.keys.htmlhttp://www.mathworks.in/help/matlab/ref/containers.map.iskey.htmlhttp://www.mathworks.in/help/matlab/ref/containers.mapclass.htmlhttp://www.mathworks.in/help/matlab/ref/functions.htmlhttp://www.mathworks.in/help/matlab/ref/localfunctions.htmlhttp://www.mathworks.in/help/matlab/ref/str2func.htmlhttp://www.mathworks.in/help/matlab/ref/func2str.htmlhttp://www.mathworks.in/help/matlab/ref/feval.htmlhttp://www.mathworks.in/help/matlab/ref/function_handle.htmlhttp://www.mathworks.in/help/matlab/ref/struct2cell.htmlhttp://www.mathworks.in/help/matlab/ref/strsplit.htmlhttp://www.mathworks.in/help/matlab/ref/strjoin.htmlhttp://www.mathworks.in/help/matlab/ref/num2cell.htmlhttp://www.mathworks.in/help/matlab/ref/mat2cell.htmlhttp://www.mathworks.in/help/matlab/ref/iscellstr.htmlhttp://www.mathworks.in/help/matlab/ref/iscell.htmlhttp://www.mathworks.in/help/matlab/ref/cellstr.htmlhttp://www.mathworks.in/help/matlab/ref/cellplot.htmlhttp://www.mathworks.in/help/matlab/ref/cellfun.htmlhttp://www.mathworks.in/help/matlab/ref/celldisp.htmlhttp://www.mathworks.in/help/matlab/ref/cell2struct.htmlhttp://www.mathworks.in/help/matlab/ref/cell2mat.htmlhttp://www.mathworks.in/help/matlab/ref/cell.htmlhttp://www.mathworks.in/help/matlab/ref/struct2cell.html8/13/2019 MATLAB Documentation - MathWorks India
9/62
plot Plot time series
set Set properties of timeseries object
tsdata.event Construct event object for timeseries object
timeseries Create timeseries object
Data Manipulation
addsampleAdd data sample to timeseries object
ctranspose Transpose timeseries object
delsample Remove sample from timeseries object
detrend Subtract mean or best-f it line and all NaNs from timeseries object
filter Shape frequency content of time-series
getabstime Extract date-str ing time vector into cell array
getinterpmethod Interpolation method for timeseries object
getsampleusingtime Extract data samples into new timeseries object
idealfilter Apply ideal (noncausal) f ilter to timeseries object
resample Select or interpolate timeseries data using new time vector
setabstime Set times of timeseries object as date strings
setinterpmethod Set default interpolation method for timeseries object
synchronize Synchronize and resample two timeseries objects using common time vector
transpose Transpose timeseries object
Event Data
addevent Add event to timeseries object
delevent Remove tsdata.event objects from timeseries object
gettsafteratevent New timeseries object w ith samples occurring at or after event
gettsafterevent New timeseries object w ith samples occurr ing after event
gettsatevent New timeseries object w ith samples occurring at event
gettsbeforeatevent New timeseries object w ith samples occurring before or at event
gettsbeforeevent New timeseries object w ith samples occurr ing before event
gettsbetweenevents New timeseries object w ith samples occurr ing betw een events
Descriptive Statistics
iqr Interquartile range of timeseries datamax Maximum value of timeseries data
mean Mean value of timeseries data
median Median value of timeseries data
min Minimum value of timeseries data
std Standard deviation of timeseries data
sum Sum of timeseries data
var Variance of timeseries data
http://www.mathworks.in/help/matlab/ref/timeseries.var.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.sum.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.std.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.min.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.median.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.mean.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.max.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.iqr.htmlhttp://www.mathworks.in/help/matlab/ref/gettsbetweenevents.htmlhttp://www.mathworks.in/help/matlab/ref/gettsbeforeevent.htmlhttp://www.mathworks.in/help/matlab/ref/gettsbeforeatevent.htmlhttp://www.mathworks.in/help/matlab/ref/gettsatevent.htmlhttp://www.mathworks.in/help/matlab/ref/gettsafterevent.htmlhttp://www.mathworks.in/help/matlab/ref/gettsafteratevent.htmlhttp://www.mathworks.in/help/matlab/ref/delevent.htmlhttp://www.mathworks.in/help/matlab/ref/addevent.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.transpose.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.synchronize.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.setinterpmethod.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.setabstime.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.resample.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.idealfilter.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.getsampleusingtime.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.getinterpmethod.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.getabstime.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.filter.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.detrend.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.delsample.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.ctranspose.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.addsample.htmlhttp://www.mathworks.in/help/matlab/ref/timeseriesclass.htmlhttp://www.mathworks.in/help/matlab/ref/tsdata.event.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.set.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.plot.html8/13/2019 MATLAB Documentation - MathWorks India
10/62
Time Ser ies Collections
get (tscollection) Query tscollection object property values
isempty (tscollection) Determine w hether tscollection object is empty
length (tscollection) Length of time vector
plot Plot time series
set (tscollection) Set properties of tscollection object
size (tscollection) Size of tscollection object
tscollection Create tscollection object
addsampletocollection Add sample to tscollection object
addts Add timeseries object to tscollection object
delsamplefromcollection Remove sample from tscollection object
getabstime (tscollection) Extract date-str ing time vector into cell array
getsampleusingtime
(tscollection)
Extract data samples into new tscollection object
gettimeseriesnames Cell array of names of timeseries objects in tscollection object
horzcat (tscollection) Horizontal concatenation for tscollection objects
removets Remove timeseries objects from tscollection object
resample (tscollection) Select or interpolate data in tscollection using new time vector
setabstime (tscollection) Set times of tscollection object as date strings
settimeseriesnames Change name of timeseries object in tscollection
vertcat (tscollection) Vertical concatenation for tscollection objects
Data Type Identification
is* Detect state
isa Determine if input is object of specified class
iscategorical Determine w hether input is categorical array
iscell Determine w hether input is cell array
iscellstr Determine whether input is cell array of strings
ischar Determine w hether item is charac ter array
isfield Determine whether input is structure array field
isfloat Determine if input is f loating-point array
ishghandle True for Handle Graphics object handles
isinteger Determine if input is integer array
isjava Determine if input is Java object
islogical Determine if input is logical array
isnumeric Determine if input is numeric array
isobject Determine if input is MATLAB object
isreal Check if input is real array
isscalar Determine w hether input is scalar
isstr Determine whether input is charac ter array
isstruct Determine whether input is structure array
istable Determine w hether input is table
http://www.mathworks.in/help/matlab/ref/istable.htmlhttp://www.mathworks.in/help/matlab/ref/isstruct.htmlhttp://www.mathworks.in/help/matlab/ref/isstr.htmlhttp://www.mathworks.in/help/matlab/ref/isscalar.htmlhttp://www.mathworks.in/help/matlab/ref/isreal.htmlhttp://www.mathworks.in/help/matlab/ref/isobject.htmlhttp://www.mathworks.in/help/matlab/ref/isnumeric.htmlhttp://www.mathworks.in/help/matlab/ref/islogical.htmlhttp://www.mathworks.in/help/matlab/ref/isjava.htmlhttp://www.mathworks.in/help/matlab/ref/isinteger.htmlhttp://www.mathworks.in/help/matlab/ref/ishghandle.htmlhttp://www.mathworks.in/help/matlab/ref/isfloat.htmlhttp://www.mathworks.in/help/matlab/ref/isfield.htmlhttp://www.mathworks.in/help/matlab/ref/ischar.htmlhttp://www.mathworks.in/help/matlab/ref/iscellstr.htmlhttp://www.mathworks.in/help/matlab/ref/iscell.htmlhttp://www.mathworks.in/help/matlab/ref/iscategorical.htmlhttp://www.mathworks.in/help/matlab/ref/isa.htmlhttp://www.mathworks.in/help/matlab/ref/is.htmlhttp://www.mathworks.in/help/matlab/ref/vertcattscollection.htmlhttp://www.mathworks.in/help/matlab/ref/settimeseriesnames.htmlhttp://www.mathworks.in/help/matlab/ref/setabstimetscollection.htmlhttp://www.mathworks.in/help/matlab/ref/resampletscollection.htmlhttp://www.mathworks.in/help/matlab/ref/removets.htmlhttp://www.mathworks.in/help/matlab/ref/horzcattscollection.htmlhttp://www.mathworks.in/help/matlab/ref/gettimeseriesnames.htmlhttp://www.mathworks.in/help/matlab/ref/getsampleusingtimetscollection.htmlhttp://www.mathworks.in/help/matlab/ref/getabstimetscollection.htmlhttp://www.mathworks.in/help/matlab/ref/delsamplefromcollection.htmlhttp://www.mathworks.in/help/matlab/ref/addts.htmlhttp://www.mathworks.in/help/matlab/ref/addsampletocollection.htmlhttp://www.mathworks.in/help/matlab/ref/tscollection.htmlhttp://www.mathworks.in/help/matlab/ref/sizetscollection.htmlhttp://www.mathworks.in/help/matlab/ref/settscollection.htmlhttp://www.mathworks.in/help/matlab/ref/timeseries.plot.htmlhttp://www.mathworks.in/help/matlab/ref/lengthtscollection.htmlhttp://www.mathworks.in/help/matlab/ref/isemptytscollection.htmlhttp://www.mathworks.in/help/matlab/ref/gettscollection.html8/13/2019 MATLAB Documentation - MathWorks India
11/62
isvector Determine w hether input is vector
class Determine class of object
validateattributes Check validity of array
whos List variables in w orkspace, w ith sizes and types
Data Type Conversion
char Convert to character array (string)
int2str Convert integer to s tring
mat2str Convert matrix to string
num2str Convert number to string
str2double Convert s tring to double-precision value
str2num Convert string to number
native2unicode Convert numeric bytes to Unicode character representation
unicode2native Convert Unicode character representation to numeric bytes
base2dec Convert base N number string to decimal number
bin2dec Convert binary number string to decimal number
dec2base Convert decimal to base N number in string
dec2bin Convert decimal to binary number in string
dec2hex Convert decimal to hexadecimal number in string
hex2dec Convert hexadecimal number string to decimal number
hex2num Convert hexadecimal number string to double-precision number
num2hex Convert singles and doubles to IEEE hexadecimal strings
table2array Convert table to homogenous array
table2cell Convert table to cell array
table2struct Convert table to structure arrayarray2table Convert homogeneous array to table
cell2table Convert cell array to table
struct2table Convert structure array to table
cell2mat Convert cell array to numeric array
cell2struct Convert cell array to structure array
cellstr Create cell array of strings from character array
mat2cell Convert array to cell array w ith potentially diff erent sized cells
num2cell Convert array to cell array w ith consistently sized cells
struct2cell Convert structure to cell array
Dates and Time
datenum Convert date and time to serial date number
datevec Convert date and time to vector of components
datestr Convert date and time to string format
now Current date and time as serial date number
clock Current date and time as date vector
date Current date s tring
http://www.mathworks.in/help/matlab/ref/date.htmlhttp://www.mathworks.in/help/matlab/ref/clock.htmlhttp://www.mathworks.in/help/matlab/ref/now.htmlhttp://www.mathworks.in/help/matlab/ref/datestr.htmlhttp://www.mathworks.in/help/matlab/ref/datevec.htmlhttp://www.mathworks.in/help/matlab/ref/datenum.htmlhttp://www.mathworks.in/help/matlab/ref/struct2cell.htmlhttp://www.mathworks.in/help/matlab/ref/num2cell.htmlhttp://www.mathworks.in/help/matlab/ref/mat2cell.htmlhttp://www.mathworks.in/help/matlab/ref/cellstr.htmlhttp://www.mathworks.in/help/matlab/ref/cell2struct.htmlhttp://www.mathworks.in/help/matlab/ref/cell2mat.htmlhttp://www.mathworks.in/help/matlab/ref/struct2table.htmlhttp://www.mathworks.in/help/matlab/ref/cell2table.htmlhttp://www.mathworks.in/help/matlab/ref/array2table.htmlhttp://www.mathworks.in/help/matlab/ref/table2struct.htmlhttp://www.mathworks.in/help/matlab/ref/table2cell.htmlhttp://www.mathworks.in/help/matlab/ref/table2array.htmlhttp://www.mathworks.in/help/matlab/ref/num2hex.htmlhttp://www.mathworks.in/help/matlab/ref/hex2num.htmlhttp://www.mathworks.in/help/matlab/ref/hex2dec.htmlhttp://www.mathworks.in/help/matlab/ref/dec2hex.htmlhttp://www.mathworks.in/help/matlab/ref/dec2bin.htmlhttp://www.mathworks.in/help/matlab/ref/dec2base.htmlhttp://www.mathworks.in/help/matlab/ref/bin2dec.htmlhttp://www.mathworks.in/help/matlab/ref/base2dec.htmlhttp://www.mathworks.in/help/matlab/ref/unicode2native.htmlhttp://www.mathworks.in/help/matlab/ref/native2unicode.htmlhttp://www.mathworks.in/help/matlab/ref/str2num.htmlhttp://www.mathworks.in/help/matlab/ref/str2double.htmlhttp://www.mathworks.in/help/matlab/ref/num2str.htmlhttp://www.mathworks.in/help/matlab/ref/mat2str.htmlhttp://www.mathworks.in/help/matlab/ref/int2str.htmlhttp://www.mathworks.in/help/matlab/ref/char.htmlhttp://www.mathworks.in/help/matlab/ref/whos.htmlhttp://www.mathworks.in/help/matlab/ref/validateattributes.htmlhttp://www.mathworks.in/help/matlab/ref/class.htmlhttp://www.mathworks.in/help/matlab/ref/isvector.html8/13/2019 MATLAB Documentation - MathWorks India
12/62
calendar Calendar for specified month
eomday Last day of month
weekday Day of w eek
addtodate Modify date number by f ield
etime Time elapsed betw een date vectors
Mathematics
Elementary Math
Arithmetic
plus Addition
uplus Unary plus
minus Subtraction
uminus Unary minus
times Element-w ise multiplication
rdivide Right array division
ldivide Left array division
power Element-w ise pow er
mtimes Matrix Multiplication
mrdivide Solve systems of linear equations xA = B for x
mldivide Solve systems of linear equations Ax = B for x
mpower Matrix pow er
cumprod Cumulative product
cumsum Cumulative sum
diff Differences and Approximate Derivatives
prod Product of array elements
sum Sum of array elements
ceil Round tow ard positive infinity
fix Round tow ard zero
floor Round tow ard negative infinity
idivide Integer division w ith rounding option
mod Modulus after division
rem Remainder after division
round Round to nearest integer
Trigonometry
sin Sine of argument in radians
sind Sine of argument in degrees
asin Inverse sine in radians
asind Inverse sine in degrees
sinh Hyperbolic s ine of argument in radians
asinh Inverse hyperbolic sine
http://www.mathworks.in/help/matlab/ref/asinh.htmlhttp://www.mathworks.in/help/matlab/ref/sinh.htmlhttp://www.mathworks.in/help/matlab/ref/asind.htmlhttp://www.mathworks.in/help/matlab/ref/asin.htmlhttp://www.mathworks.in/help/matlab/ref/sind.htmlhttp://www.mathworks.in/help/matlab/ref/sin.htmlhttp://www.mathworks.in/help/matlab/ref/round.htmlhttp://www.mathworks.in/help/matlab/ref/rem.htmlhttp://www.mathworks.in/help/matlab/ref/mod.htmlhttp://www.mathworks.in/help/matlab/ref/idivide.htmlhttp://www.mathworks.in/help/matlab/ref/floor.htmlhttp://www.mathworks.in/help/matlab/ref/fix.htmlhttp://www.mathworks.in/help/matlab/ref/ceil.htmlhttp://www.mathworks.in/help/matlab/ref/sum.htmlhttp://www.mathworks.in/help/matlab/ref/prod.htmlhttp://www.mathworks.in/help/matlab/ref/diff.htmlhttp://www.mathworks.in/help/matlab/ref/cumsum.htmlhttp://www.mathworks.in/help/matlab/ref/cumprod.htmlhttp://www.mathworks.in/help/matlab/ref/mpower.htmlhttp://www.mathworks.in/help/matlab/ref/mldivide.htmlhttp://www.mathworks.in/help/matlab/ref/mrdivide.htmlhttp://www.mathworks.in/help/matlab/ref/mtimes.htmlhttp://www.mathworks.in/help/matlab/ref/power.htmlhttp://www.mathworks.in/help/matlab/ref/ldivide.htmlhttp://www.mathworks.in/help/matlab/ref/rdivide.htmlhttp://www.mathworks.in/help/matlab/ref/times.htmlhttp://www.mathworks.in/help/matlab/ref/uminus.htmlhttp://www.mathworks.in/help/matlab/ref/minus.htmlhttp://www.mathworks.in/help/matlab/ref/uplus.htmlhttp://www.mathworks.in/help/matlab/ref/plus.htmlhttp://www.mathworks.in/help/matlab/ref/etime.htmlhttp://www.mathworks.in/help/matlab/ref/addtodate.htmlhttp://www.mathworks.in/help/matlab/ref/weekday.htmlhttp://www.mathworks.in/help/matlab/ref/eomday.htmlhttp://www.mathworks.in/help/matlab/ref/calendar.html8/13/2019 MATLAB Documentation - MathWorks India
13/62
cos Cosine of argument in radians
cosd Cosine of argument in degrees
acos Inverse cosine in radians
acosd Inverse cosine in degrees
cosh Hyperbolic cosine
acosh Inverse hyperbolic cosine
tan Tangent of argument in radians
tand Tangent of argument in degrees
atan Inverse tangent in radians
atand Inverse tangent in degrees
atan2 Four-quadrant inverse tangent
atan2d Four-quadrant inverse tangent in degrees
tanh Hyperbolic tangent
atanh Inverse hyperbolic tangent
csc Cosecant of argument in radians
cscd Cosecant of argument in degrees
acsc Inverse cosecant in radians
acscd Inverse cosecant in degrees
csch Hyperbolic cosecant
acsch Inverse hyperbolic cosecant
sec Secant of argument in radians
secd Secant of argument in degrees
asec Inverse secant in radians
asecd Inverse secant in degrees
sech Hyperbolic secant
asech Inverse hyperbolic secant
cot Cotangent of argument in radians
cotd Cotangent of argument in degrees
acot Inverse cotangent in radians
acotd Inverse cotangent in degrees
coth Hyperbolic cotangent
acoth Inverse hyperbolic cotangent
hypot Square root of sum of squares
Exponents and Logarithms
exp Exponential
expm1 Compute exp(x)-1 accurately for small values of x
log Natural logarithm
log10 Common (base 10) logarithm
log1p Compute log(1+x) accurately for small values of x
log2 Base 2 logarithm and dissect f loating-point numbers into exponent and mantissa
nextpow2 Exponent of next higher pow er of 2
http://www.mathworks.in/help/matlab/ref/nextpow2.htmlhttp://www.mathworks.in/help/matlab/ref/log2.htmlhttp://www.mathworks.in/help/matlab/ref/log1p.htmlhttp://www.mathworks.in/help/matlab/ref/log10.htmlhttp://www.mathworks.in/help/matlab/ref/log.htmlhttp://www.mathworks.in/help/matlab/ref/expm1.htmlhttp://www.mathworks.in/help/matlab/ref/exp.htmlhttp://www.mathworks.in/help/matlab/ref/hypot.htmlhttp://www.mathworks.in/help/matlab/ref/acoth.htmlhttp://www.mathworks.in/help/matlab/ref/coth.htmlhttp://www.mathworks.in/help/matlab/ref/acotd.htmlhttp://www.mathworks.in/help/matlab/ref/acot.htmlhttp://www.mathworks.in/help/matlab/ref/cotd.htmlhttp://www.mathworks.in/help/matlab/ref/cot.htmlhttp://www.mathworks.in/help/matlab/ref/asech.htmlhttp://www.mathworks.in/help/matlab/ref/sech.htmlhttp://www.mathworks.in/help/matlab/ref/asecd.htmlhttp://www.mathworks.in/help/matlab/ref/asec.htmlhttp://www.mathworks.in/help/matlab/ref/secd.htmlhttp://www.mathworks.in/help/matlab/ref/sec.htmlhttp://www.mathworks.in/help/matlab/ref/acsch.htmlhttp://www.mathworks.in/help/matlab/ref/csch.htmlhttp://www.mathworks.in/help/matlab/ref/acscd.htmlhttp://www.mathworks.in/help/matlab/ref/acsc.htmlhttp://www.mathworks.in/help/matlab/ref/cscd.htmlhttp://www.mathworks.in/help/matlab/ref/csc.htmlhttp://www.mathworks.in/help/matlab/ref/atanh.htmlhttp://www.mathworks.in/help/matlab/ref/tanh.htmlhttp://www.mathworks.in/help/matlab/ref/atan2d.htmlhttp://www.mathworks.in/help/matlab/ref/atan2.htmlhttp://www.mathworks.in/help/matlab/ref/atand.htmlhttp://www.mathworks.in/help/matlab/ref/atan.htmlhttp://www.mathworks.in/help/matlab/ref/tand.htmlhttp://www.mathworks.in/help/matlab/ref/tan.htmlhttp://www.mathworks.in/help/matlab/ref/acosh.htmlhttp://www.mathworks.in/help/matlab/ref/cosh.htmlhttp://www.mathworks.in/help/matlab/ref/acosd.htmlhttp://www.mathworks.in/help/matlab/ref/acos.htmlhttp://www.mathworks.in/help/matlab/ref/cosd.htmlhttp://www.mathworks.in/help/matlab/ref/cos.html8/13/2019 MATLAB Documentation - MathWorks India
14/62
nthroot Real nth root of real numbers
pow2 Base 2 pow er and scale floating-point numbers
reallog Natural logarithm for nonnegative real arrays
realpow Array pow er for real-only output
realsqrt Square root for nonnegative real arrays
sqrt Square root
Complex Numbers
abs Absolute value and complex magnitude
angle Phase angle
complex Construct complex data from real and imaginary components
conj Complex conjugate
cplxpair Sort complex numbers into complex conjugate pairs
i Imaginary unit
imag Imaginary part of complex number
isreal Check if input is real array
j Imaginary unit
real Real part of complex number
sign Signum function
unwrap Correct phase angles to produce smoother phase plots
Discrete Math
factor Prime factors
factorial Factorial of inputgcd Greatest common divisor
isprime Determine w hich array elements are prime
lcm Least common multiple
nchoosek Binomial coefficient or all combinations
perms All possible permutations
primes Prime numbers less than or equal to input value
rat, rats Rational fraction approximation
Polynomials
poly Polynomial w ith specif ied roots
polyder Polynomial derivative
polyeig Polynomial eigenvalue problem
polyfit Polynomial curve fitting
polyint Integrate polynomial analytically
polyval Polynomial evaluation
polyvalm Matrix polynomial evaluation
residue Convert betw een partial fraction expansion and polynomial coeff icients
http://www.mathworks.in/help/matlab/ref/residue.htmlhttp://www.mathworks.in/help/matlab/ref/polyvalm.htmlhttp://www.mathworks.in/help/matlab/ref/polyval.htmlhttp://www.mathworks.in/help/matlab/ref/polyint.htmlhttp://www.mathworks.in/help/matlab/ref/polyfit.htmlhttp://www.mathworks.in/help/matlab/ref/polyeig.htmlhttp://www.mathworks.in/help/matlab/ref/polyder.htmlhttp://www.mathworks.in/help/matlab/ref/poly.htmlhttp://www.mathworks.in/help/matlab/ref/rat.htmlhttp://www.mathworks.in/help/matlab/ref/primes.htmlhttp://www.mathworks.in/help/matlab/ref/perms.htmlhttp://www.mathworks.in/help/matlab/ref/nchoosek.htmlhttp://www.mathworks.in/help/matlab/ref/lcm.htmlhttp://www.mathworks.in/help/matlab/ref/isprime.htmlhttp://www.mathworks.in/help/matlab/ref/gcd.htmlhttp://www.mathworks.in/help/matlab/ref/factorial.htmlhttp://www.mathworks.in/help/matlab/ref/factor.htmlhttp://www.mathworks.in/help/matlab/ref/unwrap.htmlhttp://www.mathworks.in/help/matlab/ref/sign.htmlhttp://www.mathworks.in/help/matlab/ref/real.htmlhttp://www.mathworks.in/help/matlab/ref/j.htmlhttp://www.mathworks.in/help/matlab/ref/isreal.htmlhttp://www.mathworks.in/help/matlab/ref/imag.htmlhttp://www.mathworks.in/help/matlab/ref/i.htmlhttp://www.mathworks.in/help/matlab/ref/cplxpair.htmlhttp://www.mathworks.in/help/matlab/ref/conj.htmlhttp://www.mathworks.in/help/matlab/ref/complex.htmlhttp://www.mathworks.in/help/matlab/ref/angle.htmlhttp://www.mathworks.in/help/matlab/ref/abs.htmlhttp://www.mathworks.in/help/matlab/ref/sqrt.htmlhttp://www.mathworks.in/help/matlab/ref/realsqrt.htmlhttp://www.mathworks.in/help/matlab/ref/realpow.htmlhttp://www.mathworks.in/help/matlab/ref/reallog.htmlhttp://www.mathworks.in/help/matlab/ref/pow2.htmlhttp://www.mathworks.in/help/matlab/ref/nthroot.html8/13/2019 MATLAB Documentation - MathWorks India
15/62
roots Polynomial roots
Special Functions
airy Airy Functions
besselh Bessel function of third kind (Hankel function)
besseli Modified Bessel function of first kind
besselj Bessel function of f irst kind
besselk Modified Bessel function of second kind
bessely Bessel function of second kind
beta Beta function
betainc Incomplete beta function
betaincinv Beta inverse cumulative distr ibution function
betaln Logarithm of beta function
ellipj Jacobi elliptic functions
ellipke Complete elliptic integrals of firs t and second kind
erf Error function
erfc Complementary error function
erfcinv Inverse complementary error function
erfcx Scaled complementary error function
erfinv Inverse error function
expint Exponential integral
gamma Gamma function
gammainc Incomplete gamma function
gammaincinv Inverse incomplete gamma function
gammaln Logarithm of gamma function
legendre Associated Legendre functions
psi Psi (polygamma) function
Cartesian Coordinate System Convers ion
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
Constants and Tes t Matrices
eps Floating-point relative accuracy
flintmax Largest consecutive integer in floating-point format
i Imaginary unit
j Imaginary unit
Inf Infinity
http://www.mathworks.in/help/matlab/ref/inf.htmlhttp://www.mathworks.in/help/matlab/ref/j.htmlhttp://www.mathworks.in/help/matlab/ref/i.htmlhttp://www.mathworks.in/help/matlab/ref/flintmax.htmlhttp://www.mathworks.in/help/matlab/ref/eps.htmlhttp://www.mathworks.in/help/matlab/ref/sph2cart.htmlhttp://www.mathworks.in/help/matlab/ref/pol2cart.htmlhttp://www.mathworks.in/help/matlab/ref/cart2sph.htmlhttp://www.mathworks.in/help/matlab/ref/cart2pol.htmlhttp://www.mathworks.in/help/matlab/ref/psi.htmlhttp://www.mathworks.in/help/matlab/ref/legendre.htmlhttp://www.mathworks.in/help/matlab/ref/gammaln.htmlhttp://www.mathworks.in/help/matlab/ref/gammaincinv.htmlhttp://www.mathworks.in/help/matlab/ref/gammainc.htmlhttp://www.mathworks.in/help/matlab/ref/gamma.htmlhttp://www.mathworks.in/help/matlab/ref/expint.htmlhttp://www.mathworks.in/help/matlab/ref/erfinv.htmlhttp://www.mathworks.in/help/matlab/ref/erfcx.htmlhttp://www.mathworks.in/help/matlab/ref/erfcinv.htmlhttp://www.mathworks.in/help/matlab/ref/erfc.htmlhttp://www.mathworks.in/help/matlab/ref/erf.htmlhttp://www.mathworks.in/help/matlab/ref/ellipke.htmlhttp://www.mathworks.in/help/matlab/ref/ellipj.htmlhttp://www.mathworks.in/help/matlab/ref/betaln.htmlhttp://www.mathworks.in/help/matlab/ref/betaincinv.htmlhttp://www.mathworks.in/help/matlab/ref/betainc.htmlhttp://www.mathworks.in/help/matlab/ref/beta.htmlhttp://www.mathworks.in/help/matlab/ref/bessely.htmlhttp://www.mathworks.in/help/matlab/ref/besselk.htmlhttp://www.mathworks.in/help/matlab/ref/besselj.htmlhttp://www.mathworks.in/help/matlab/ref/besseli.htmlhttp://www.mathworks.in/help/matlab/ref/besselh.htmlhttp://www.mathworks.in/help/matlab/ref/airy.htmlhttp://www.mathworks.in/help/matlab/ref/roots.html8/13/2019 MATLAB Documentation - MathWorks India
16/62
pi Ratio of circle's circumference to its diameter
NaN Not-a-Number
isfinite Array elements that are finite
isinf Array elements that are infinite
isnan Array elements that are NaN
compan Companion matrix
gallery Test matrices
hadamard Hadamard matrix
hankel Hankel matrix
hilb Hilbert matrix
invhilb Inverse of Hilbert matrix
magic Magic square
pascal Pascal matrix
rosser Classic symmetric eigenvalue test problem
toeplitz Toeplitz matrix
vander Vandermonde matrix
wilkinson Wilkinson's eigenvalue test matrix
Linear Algebra
Matrix Operations
cross Vector cross product
dot Vector dot product
kron Kronecker tensor product
surfnorm Compute and display 3-D surface normals
tril Low er triangular part of matrix
triu Upper triangular part of matrix
transpose Transpose
Linear Equations
cond Condition number w ith respect to inversion
condest 1-norm condition number estimate
funm Evaluate general matrix f unction
inv Matrix inverselinsolve Solve linear system of equations
lscov Least-squares solution in presence of know n covariance
lsqnonneg Solve nonnegative least-squares constraints problem
pinv Moore-Penrose pseudoinverse of matrix
rcond Matrix reciprocal condition number estimate
mldivide Solve systems of linear equations Ax = B for x
mrdivide Solve systems of linear equations xA = B for x
http://www.mathworks.in/help/matlab/ref/mrdivide.htmlhttp://www.mathworks.in/help/matlab/ref/mldivide.htmlhttp://www.mathworks.in/help/matlab/ref/rcond.htmlhttp://www.mathworks.in/help/matlab/ref/pinv.htmlhttp://www.mathworks.in/help/matlab/ref/lsqnonneg.htmlhttp://www.mathworks.in/help/matlab/ref/lscov.htmlhttp://www.mathworks.in/help/matlab/ref/linsolve.htmlhttp://www.mathworks.in/help/matlab/ref/inv.htmlhttp://www.mathworks.in/help/matlab/ref/funm.htmlhttp://www.mathworks.in/help/matlab/ref/condest.htmlhttp://www.mathworks.in/help/matlab/ref/cond.htmlhttp://www.mathworks.in/help/matlab/ref/transpose.htmlhttp://www.mathworks.in/help/matlab/ref/triu.htmlhttp://www.mathworks.in/help/matlab/ref/tril.htmlhttp://www.mathworks.in/help/matlab/ref/surfnorm.htmlhttp://www.mathworks.in/help/matlab/ref/kron.htmlhttp://www.mathworks.in/help/matlab/ref/dot.htmlhttp://www.mathworks.in/help/matlab/ref/cross.htmlhttp://www.mathworks.in/help/matlab/ref/wilkinson.htmlhttp://www.mathworks.in/help/matlab/ref/vander.htmlhttp://www.mathworks.in/help/matlab/ref/toeplitz.htmlhttp://www.mathworks.in/help/matlab/ref/rosser.htmlhttp://www.mathworks.in/help/matlab/ref/pascal.htmlhttp://www.mathworks.in/help/matlab/ref/magic.htmlhttp://www.mathworks.in/help/matlab/ref/invhilb.htmlhttp://www.mathworks.in/help/matlab/ref/hilb.htmlhttp://www.mathworks.in/help/matlab/ref/hankel.htmlhttp://www.mathworks.in/help/matlab/ref/hadamard.htmlhttp://www.mathworks.in/help/matlab/ref/gallery.htmlhttp://www.mathworks.in/help/matlab/ref/compan.htmlhttp://www.mathworks.in/help/matlab/ref/isnan.htmlhttp://www.mathworks.in/help/matlab/ref/isinf.htmlhttp://www.mathworks.in/help/matlab/ref/isfinite.htmlhttp://www.mathworks.in/help/matlab/ref/nan.htmlhttp://www.mathworks.in/help/matlab/ref/pi.html8/13/2019 MATLAB Documentation - MathWorks India
17/62
Matrix Decompos ition
chol Cholesky factorization
ichol Incomplete Cholesky factorization
cholupdate Rank 1 update to Cholesky factorization
ilu Sparse incomplete LU factor ization
lu LU matrix f actorization
qr Orthogonal-triangular decompositionqrdelete Remove column or row from QR factorization
qrinsert Insert column or row into QR factorization
qrupdate Rank 1 update to QR factorization
planerot Givens plane rotation
ldl Block LDL' f actorization f or Hermitian indefinite matrices
cdf2rdf Convert complex diagonal form to real block diagonal form
rsf2csf Convert real Schur form to complex Schur form
gsvd Generalized singular value decomposition
svdSingular value decomposition
Eigenvalues and Singular Values
balance Diagonal scaling to improve eigenvalue accuracy
cdf2rdf Convert complex diagonal form to real block diagonal form
condeig Condition number w ith respect to eigenvalues
eig Eigenvalues and eigenvectors
eigs Largest eigenvalues and eigenvectors of matrix
gsvd Generalized singular value decomposition
hess Hessenberg form of matrix
ordeig Eigenvalues of quasitriangular matrices
ordqz Reorder eigenvalues in QZ factorization
ordschur Reorder eigenvalues in Schur factorization
poly Polynomial w ith specif ied roots
polyeig Polynomial eigenvalue problem
qz QZ factorization for generalized eigenvalues
rsf2csf Convert real Schur form to complex Schur form
schur Schur decomposition
sqrtm Matrix square root
ss2tf Convert state-space filter parameters to transfer function form
svd Singular value decomposition
svds Find singular values and vectors
Matrix Analysis
cond Condition number w ith respect to inversion
condeig Condition number w ith respect to eigenvalues
http://www.mathworks.in/help/matlab/ref/condeig.htmlhttp://www.mathworks.in/help/matlab/ref/cond.htmlhttp://www.mathworks.in/help/matlab/ref/svds.htmlhttp://www.mathworks.in/help/matlab/ref/svd.htmlhttp://www.mathworks.in/help/matlab/ref/ss2tf.htmlhttp://www.mathworks.in/help/matlab/ref/sqrtm.htmlhttp://www.mathworks.in/help/matlab/ref/schur.htmlhttp://www.mathworks.in/help/matlab/ref/rsf2csf.htmlhttp://www.mathworks.in/help/matlab/ref/qz.htmlhttp://www.mathworks.in/help/matlab/ref/polyeig.htmlhttp://www.mathworks.in/help/matlab/ref/poly.htmlhttp://www.mathworks.in/help/matlab/ref/ordschur.htmlhttp://www.mathworks.in/help/matlab/ref/ordqz.htmlhttp://www.mathworks.in/help/matlab/ref/ordeig.htmlhttp://www.mathworks.in/help/matlab/ref/hess.htmlhttp://www.mathworks.in/help/matlab/ref/gsvd.htmlhttp://www.mathworks.in/help/matlab/ref/eigs.htmlhttp://www.mathworks.in/help/matlab/ref/eig.htmlhttp://www.mathworks.in/help/matlab/ref/condeig.htmlhttp://www.mathworks.in/help/matlab/ref/cdf2rdf.htmlhttp://www.mathworks.in/help/matlab/ref/balance.htmlhttp://www.mathworks.in/help/matlab/ref/svd.htmlhttp://www.mathworks.in/help/matlab/ref/gsvd.htmlhttp://www.mathworks.in/help/matlab/ref/rsf2csf.htmlhttp://www.mathworks.in/help/matlab/ref/cdf2rdf.htmlhttp://www.mathworks.in/help/matlab/ref/ldl.htmlhttp://www.mathworks.in/help/matlab/ref/planerot.htmlhttp://www.mathworks.in/help/matlab/ref/qrupdate.htmlhttp://www.mathworks.in/help/matlab/ref/qrinsert.htmlhttp://www.mathworks.in/help/matlab/ref/qrdelete.htmlhttp://www.mathworks.in/help/matlab/ref/qr.htmlhttp://www.mathworks.in/help/matlab/ref/lu.htmlhttp://www.mathworks.in/help/matlab/ref/ilu.htmlhttp://www.mathworks.in/help/matlab/ref/cholupdate.htmlhttp://www.mathworks.in/help/matlab/ref/ichol.htmlhttp://www.mathworks.in/help/matlab/ref/chol.html8/13/2019 MATLAB Documentation - MathWorks India
18/62
det Matrix determinant
norm Vector and matrix norms
normest 2-norm estimate
null Null space
orth Orthonormal basis f or range of matrix
rank Rank of matrix
rcond Matrix reciprocal condition number estimate
rref Reduced row echelon form
subspace Angle betw een tw o subspaces
trace Sum of diagonal elements
Matr ix Functions
expm Matrix exponential
logm Matrix logarithm
sqrtm Matrix square root
bsxfun Apply element-by-element binary operation to tw o arrays w ith singleton expansionenabled
arrayfun Apply f unction to each element of array
accumarray Construct array w ith accumulation
mpower Matrix pow er
Statistics and Random Numbers
Descriptive Statistics
corrcoef Correlation coefficients
cov Covariance matrix
max Largest elements in array
mean Average or mean value of array
median Median value of array
min Smallest elements in array
mode Most frequent values in array
std Standard deviation
var Variance
Random Number Generation
rand Uniformly distributed pseudorandom numbers
randn Normally distributed pseudorandom numbers
randi Uniformly distributed pseudorandom integers
randperm Random permutation
rng Control random number generation
RandStream Random number stream
http://www.mathworks.in/help/matlab/ref/randstream.randstream.htmlhttp://www.mathworks.in/help/matlab/ref/rng.htmlhttp://www.mathworks.in/help/matlab/ref/randperm.htmlhttp://www.mathworks.in/help/matlab/ref/randi.htmlhttp://www.mathworks.in/help/matlab/ref/randn.htmlhttp://www.mathworks.in/help/matlab/ref/rand.htmlhttp://www.mathworks.in/help/matlab/ref/var.htmlhttp://www.mathworks.in/help/matlab/ref/std.htmlhttp://www.mathworks.in/help/matlab/ref/mode.htmlhttp://www.mathworks.in/help/matlab/ref/min.htmlhttp://www.mathworks.in/help/matlab/ref/median.htmlhttp://www.mathworks.in/help/matlab/ref/mean.htmlhttp://www.mathworks.in/help/matlab/ref/max.htmlhttp://www.mathworks.in/help/matlab/ref/cov.htmlhttp://www.mathworks.in/help/matlab/ref/corrcoef.htmlhttp://www.mathworks.in/help/matlab/ref/mpower.htmlhttp://www.mathworks.in/help/matlab/ref/accumarray.htmlhttp://www.mathworks.in/help/matlab/ref/arrayfun.htmlhttp://www.mathworks.in/help/matlab/ref/bsxfun.htmlhttp://www.mathworks.in/help/matlab/ref/sqrtm.htmlhttp://www.mathworks.in/help/matlab/ref/logm.htmlhttp://www.mathworks.in/help/matlab/ref/expm.htmlhttp://www.mathworks.in/help/matlab/ref/trace.htmlhttp://www.mathworks.in/help/matlab/ref/subspace.htmlhttp://www.mathworks.in/help/matlab/ref/rref.htmlhttp://www.mathworks.in/help/matlab/ref/rcond.htmlhttp://www.mathworks.in/help/matlab/ref/rank.htmlhttp://www.mathworks.in/help/matlab/ref/orth.htmlhttp://www.mathworks.in/help/matlab/ref/null.htmlhttp://www.mathworks.in/help/matlab/ref/normest.htmlhttp://www.mathworks.in/help/matlab/ref/norm.htmlhttp://www.mathworks.in/help/matlab/ref/det.html8/13/2019 MATLAB Documentation - MathWorks India
19/62
Interpolation
1-D Inter polation
interp1 1-D data interpolation (table lookup)
griddedInterpolant Gridded data interpolation
pchip Piecew ise Cubic Hermite Interpolating Polynomial (PCHIP)
spline Cubic spline data interpolation
ppval Evaluate piecew ise polynomial
mkpp Make piecew ise polynomial
unmkpp Piecew ise polynomial details
padecoef Pad approximation of time delays
interpft 1-D interpolation using FFT method
Gridded Data Inter polation
interp2 Interpolation for 2-D gridded data in meshgrid format
interp3 Interpolation for 3-D gridded data in meshgrid formatinterpn Interpolation for 1-D, 2-D, 3-D, and N-D gridded data in ndgrid format
griddedInterpolant Gridded data interpolation
ndgrid Rectangular grid in N-D space
meshgrid Rectangular grid in 2-D and 3-D space
Scattered Data Interpolation
griddata Interpolate scattered data
griddatan Data gridding and hypersurf ace f itting (dimension 2)
scatteredInterpolant Scattered data interpolation
Optimization
fminbnd Find minimum of s ingle-var iable f unction on f ixed interval
fminsearch Find minimum of unconstrained multivariable f unction using derivative-f ree method
fzero Root of nonlinear function
lsqnonneg Solve nonnegative least-squares constraints problem
optimget Optimization options values
optimset Create or edit optimization options structure
Numerical Integration and Differential Equations
Ordinary Differe ntial Equations
ode45 Solve nonstif f diff erential equations; medium order method
ode15s Solve stiff differential equations and DAEs; variable order method
ode23 Solve nonstiff diff erential equations; low order method
ode113 Solve nonstiff differential equations; variable order method
http://www.mathworks.in/help/matlab/ref/ode113.htmlhttp://www.mathworks.in/help/matlab/ref/ode23.htmlhttp://www.mathworks.in/help/matlab/ref/ode15s.htmlhttp://www.mathworks.in/help/matlab/ref/ode45.htmlhttp://www.mathworks.in/help/matlab/ref/optimset.htmlhttp://www.mathworks.in/help/matlab/ref/optimget.htmlhttp://www.mathworks.in/help/matlab/ref/lsqnonneg.htmlhttp://www.mathworks.in/help/matlab/ref/fzero.htmlhttp://www.mathworks.in/help/matlab/ref/fminsearch.htmlhttp://www.mathworks.in/help/matlab/ref/fminbnd.htmlhttp://www.mathworks.in/help/matlab/ref/scatteredinterpolantclass.htmlhttp://www.mathworks.in/help/matlab/ref/griddatan.htmlhttp://www.mathworks.in/help/matlab/ref/griddata.htmlhttp://www.mathworks.in/help/matlab/ref/meshgrid.htmlhttp://www.mathworks.in/help/matlab/ref/ndgrid.htmlhttp://www.mathworks.in/help/matlab/ref/griddedinterpolantclass.htmlhttp://www.mathworks.in/help/matlab/ref/interpn.htmlhttp://www.mathworks.in/help/matlab/ref/interp3.htmlhttp://www.mathworks.in/help/matlab/ref/interp2.htmlhttp://www.mathworks.in/help/matlab/ref/interpft.htmlhttp://www.mathworks.in/help/matlab/ref/padecoef.htmlhttp://www.mathworks.in/help/matlab/ref/unmkpp.htmlhttp://www.mathworks.in/help/matlab/ref/mkpp.htmlhttp://www.mathworks.in/help/matlab/ref/ppval.htmlhttp://www.mathworks.in/help/matlab/ref/spline.htmlhttp://www.mathworks.in/help/matlab/ref/pchip.htmlhttp://www.mathworks.in/help/matlab/ref/griddedinterpolantclass.htmlhttp://www.mathworks.in/help/matlab/ref/interp1.html8/13/2019 MATLAB Documentation - MathWorks India
20/62
ode23t Solve moderately s tiff ODEs and DAEs; trapezoidal rule
ode23tb Solve stiff diff erential equations; low order method
ode23s Solve stiff diff erential equations; low order method
ode15i Solve fully implicit differential equations, variable order method
decic Compute consistent initial conditions for ode15i
odextend Extend solution of initial value problem for ordinary diff erential equation
odeget Ordinary differential equation options parameters
odeset Create or alter options structure for ordinary differential equation solvers
deval Evaluate solution of differential equation problem
Boundary Value Problems
bvp4c Solve boundary value problems for ordinary differential equations
bvp5c Solve boundary value problems for ordinary differential equations
bvpinit Form initial guess f or BVP solvers
bvpxtend Form guess structure for extending boundary value solutions
bvpget Extract properties from options structure created w ith bvpset
bvpset Create or alter options structure of boundary value problem
deval Evaluate solution of differential equation problem
Delay Differential Equations
dde23 Solve delay differential equations (DDEs) w ith constant delays
ddesd Solve delay diff erential equations (DDEs) w ith general delays
ddensd Solve delay diff erential equations (DDEs) of neutral type
ddeget Extract properties from delay differential equations options structureddeset Create or alter delay differential equations options structure
deval Evaluate solution of differential equation problem
Partial Differ ential Equations
pdepe Solve initial-boundary value problems for parabolic-elliptic PDEs in 1-D
pdeval Evaluate numerical solution of PDE using output of pdepe
Numerical Integration and Differentiation
integral Numerically evaluate integral
integral2 Numerically evaluate double integral
integral3 Numerically evaluate triple integral
quadgk Numerically evaluate integral, adaptive Gauss-Kronrod quadrature
quad2d Numerically evaluate double integral, tiled method
cumtrapz Cumulative trapezoidal numerical integration
trapz Trapezoidal numerical integration
polyint Integrate polynomial analytically
http://www.mathworks.in/help/matlab/ref/polyint.htmlhttp://www.mathworks.in/help/matlab/ref/trapz.htmlhttp://www.mathworks.in/help/matlab/ref/cumtrapz.htmlhttp://www.mathworks.in/help/matlab/ref/quad2d.htmlhttp://www.mathworks.in/help/matlab/ref/quadgk.htmlhttp://www.mathworks.in/help/matlab/ref/integral3.htmlhttp://www.mathworks.in/help/matlab/ref/integral2.htmlhttp://www.mathworks.in/help/matlab/ref/integral.htmlhttp://www.mathworks.in/help/matlab/ref/pdeval.htmlhttp://www.mathworks.in/help/matlab/ref/pdepe.htmlhttp://www.mathworks.in/help/matlab/ref/deval.htmlhttp://www.mathworks.in/help/matlab/ref/ddeset.htmlhttp://www.mathworks.in/help/matlab/ref/ddeget.htmlhttp://www.mathworks.in/help/matlab/ref/ddensd.htmlhttp://www.mathworks.in/help/matlab/ref/ddesd.htmlhttp://www.mathworks.in/help/matlab/ref/dde23.htmlhttp://www.mathworks.in/help/matlab/ref/deval.htmlhttp://www.mathworks.in/help/matlab/ref/bvpset.htmlhttp://www.mathworks.in/help/matlab/ref/bvpget.htmlhttp://www.mathworks.in/help/matlab/ref/bvpxtend.htmlhttp://www.mathworks.in/help/matlab/ref/bvpinit.htmlhttp://www.mathworks.in/help/matlab/ref/bvp5c.htmlhttp://www.mathworks.in/help/matlab/ref/bvp4c.htmlhttp://www.mathworks.in/help/matlab/ref/deval.htmlhttp://www.mathworks.in/help/matlab/ref/odeset.htmlhttp://www.mathworks.in/help/matlab/ref/odeget.htmlhttp://www.mathworks.in/help/matlab/ref/odextend.htmlhttp://www.mathworks.in/help/matlab/ref/decic.htmlhttp://www.mathworks.in/help/matlab/ref/ode15i.htmlhttp://www.mathworks.in/help/matlab/ref/ode23s.htmlhttp://www.mathworks.in/help/matlab/ref/ode23tb.htmlhttp://www.mathworks.in/help/matlab/ref/ode23t.html8/13/2019 MATLAB Documentation - MathWorks India
21/62
del2 Discrete Laplacian
diff Differences and Approximate Derivatives
gradient Numerical gradient
polyder Polynomial derivative
Fourier Analysis and Filtering
abs Absolute value and complex magnitudeangle Phase angle
cplxpair Sort complex numbers into complex conjugate pairs
fft Fast Fourier transform
fft2 2-D fast Fourier transform
fftn N-D fast Fourier transform
fftshift Shift zero-frequency component to center of spectrum
fftw Interface to FFTW library run-time algorithm tuning control
ifft Inverse f ast Fourier transform
ifft2 2-D inverse f ast Fourier transform
ifftn N-D inverse fast Fourier transform
ifftshift Inverse FFT shif t
nextpow2 Exponent of next higher pow er of 2
unwrap Correct phase angles to produce smoother phase plots
conv Convolution and polynomial multiplication
conv2 2-D convolution
convn N-D convolution
deconv Deconvolution and polynomial division
detrend Remove linear trends
filter 1-D digital filter
filter2 2-D digital filter
Sparse Matrices
Sparse Matrix Creation
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
sparse Create sparse matrix
spconvert Import matrix f rom sparse matrix ex ternal format
Sparse Matrix Manipulation
issparse Determine w hether input is sparse
nnz Number of nonzero matrix elements
http://www.mathworks.in/help/matlab/ref/nnz.htmlhttp://www.mathworks.in/help/matlab/ref/issparse.htmlhttp://www.mathworks.in/help/matlab/ref/spconvert.htmlhttp://www.mathworks.in/help/matlab/ref/sparse.htmlhttp://www.mathworks.in/help/matlab/ref/sprandsym.htmlhttp://www.mathworks.in/help/matlab/ref/sprandn.htmlhttp://www.mathworks.in/help/matlab/ref/sprand.htmlhttp://www.mathworks.in/help/matlab/ref/speye.htmlhttp://www.mathworks.in/help/matlab/ref/spdiags.htmlhttp://www.mathworks.in/help/matlab/ref/filter2.htmlhttp://www.mathworks.in/help/matlab/ref/filter.htmlhttp://www.mathworks.in/help/matlab/ref/detrend.htmlhttp://www.mathworks.in/help/matlab/ref/deconv.htmlhttp://www.mathworks.in/help/matlab/ref/convn.htmlhttp://www.mathworks.in/help/matlab/ref/conv2.htmlhttp://www.mathworks.in/help/matlab/ref/conv.htmlhttp://www.mathworks.in/help/matlab/ref/unwrap.htmlhttp://www.mathworks.in/help/matlab/ref/nextpow2.htmlhttp://www.mathworks.in/help/matlab/ref/ifftshift.htmlhttp://www.mathworks.in/help/matlab/ref/ifftn.htmlhttp://www.mathworks.in/help/matlab/ref/ifft2.htmlhttp://www.mathworks.in/help/matlab/ref/ifft.htmlhttp://www.mathworks.in/help/matlab/ref/fftw.htmlhttp://www.mathworks.in/help/matlab/ref/fftshift.htmlhttp://www.mathworks.in/help/matlab/ref/fftn.htmlhttp://www.mathworks.in/help/matlab/ref/fft2.htmlhttp://www.mathworks.in/help/matlab/ref/fft.htmlhttp://www.mathworks.in/help/matlab/ref/cplxpair.htmlhttp://www.mathworks.in/help/matlab/ref/angle.htmlhttp://www.mathworks.in/help/matlab/ref/abs.htmlhttp://www.mathworks.in/help/matlab/ref/polyder.htmlhttp://www.mathworks.in/help/matlab/ref/gradient.htmlhttp://www.mathworks.in/help/matlab/ref/diff.htmlhttp://www.mathworks.in/help/matlab/ref/del2.html8/13/2019 MATLAB Documentation - MathWorks India
22/62
nonzeros Nonzero matrix elements
nzmax Amount of storage allocated for nonzero matrix elements
spalloc Allocate space for sparse matrix
spfun Apply f unction to nonzero sparse matrix elements
spones Replace nonzero sparse matrix elements w ith ones
spparms Set parameters for sparse matrix routines
spy Visualize sparsity pattern
find Find indices and values of nonzero elements
full Convert sparse matrix to full matrix
Reordering Algorithms
amd Approx imate minimum degree permutation
colamd Column approximate minimum degree permutation
colperm Sparse column permutation based on nonzero count
dmperm Dulmage-Mendelsohn decomposition
randperm Random permutation
symamd Symmetric approx imate minimum degree permutation
symrcm Sparse reverse Cuthill-McKee ordering
Sparse Linear Algebra
condest 1-norm condition number estimate
eigs Largest eigenvalues and eigenvectors of matrix
ichol Incomplete Cholesky factorization
ilu Sparse incomplete LU factor izationnormest 2-norm estimate
spaugment Form least squares augmented system
sprank Structural rank
svds Find singular values and vectors
Linear Equations (Iterative Me thods)
bicg Biconjugate gradients method
bicgstab Biconjugate gradients stabilized method
bicgstabl Biconjugate gradients stabilized (l) method
cgs Conjugate gradients squared method
gmres Generalized minimum residual method (w ith restar ts)
lsqr LSQR method
minres Minimum residual method
pcg Preconditioned conjugate gradients method
qmr Quasi-minimal residual method
symmlq Symmetric LQ method
http://www.mathworks.in/help/matlab/ref/symmlq.htmlhttp://www.mathworks.in/help/matlab/ref/qmr.htmlhttp://www.mathworks.in/help/matlab/ref/pcg.htmlhttp://www.mathworks.in/help/matlab/ref/minres.htmlhttp://www.mathworks.in/help/matlab/ref/lsqr.htmlhttp://www.mathworks.in/help/matlab/ref/gmres.htmlhttp://www.mathworks.in/help/matlab/ref/cgs.htmlhttp://www.mathworks.in/help/matlab/ref/bicgstabl.htmlhttp://www.mathworks.in/help/matlab/ref/bicgstab.htmlhttp://www.mathworks.in/help/matlab/ref/bicg.htmlhttp://www.mathworks.in/help/matlab/ref/svds.htmlhttp://www.mathworks.in/help/matlab/ref/sprank.htmlhttp://www.mathworks.in/help/matlab/ref/spaugment.htmlhttp://www.mathworks.in/help/matlab/ref/normest.htmlhttp://www.mathworks.in/help/matlab/ref/ilu.htmlhttp://www.mathworks.in/help/matlab/ref/ichol.htmlhttp://www.mathworks.in/help/matlab/ref/eigs.htmlhttp://www.mathworks.in/help/matlab/ref/condest.htmlhttp://www.mathworks.in/help/matlab/ref/symrcm.htmlhttp://www.mathworks.in/help/matlab/ref/symamd.htmlhttp://www.mathworks.in/help/matlab/ref/randperm.htmlhttp://www.mathworks.in/help/matlab/ref/dmperm.htmlhttp://www.mathworks.in/help/matlab/ref/colperm.htmlhttp://www.mathworks.in/help/matlab/ref/colamd.htmlhttp://www.mathworks.in/help/matlab/ref/amd.htmlhttp://www.mathworks.in/help/matlab/ref/full.htmlhttp://www.mathworks.in/help/matlab/ref/find.htmlhttp://www.mathworks.in/help/matlab/ref/spy.htmlhttp://www.mathworks.in/help/matlab/ref/spparms.htmlhttp://www.mathworks.in/help/matlab/ref/spones.htmlhttp://www.mathworks.in/help/matlab/ref/spfun.htmlhttp://www.mathworks.in/help/matlab/ref/spalloc.htmlhttp://www.mathworks.in/help/matlab/ref/nzmax.htmlhttp://www.mathworks.in/help/matlab/ref/nonzeros.html8/13/2019 MATLAB Documentation - MathWorks India
23/62
tfqmr Transpose-free quasi-minimal residual method
Graph and Tree Algorithms
etree Elimination tree
etreeplot Plot elimination tree
gplot Plot nodes and links representing adjacency matrix
symbfact Symbolic factorization analysis
treelayout Lay out tree or forest
treeplot Plot picture of tree
unmesh Convert edge matrix to coordinate and Laplacian matrices
Computational Geometry
Triangulation Representation
triangulation Triangulation in 2-D or 3-D
tetramesh Tetrahedron mesh plot
trimesh Triangular mesh plot
triplot 2-D triangular plot
trisurf Triangular surface plot
Delaunay Triangulation
delaunayTriangulation Delaunay triangulation in 2-D and 3-D
delaunay Delaunay triangulation
delaunayn N-D Delaunay triangulationtetramesh Tetrahedron mesh plot
trimesh Triangular mesh plot
triplot 2-D triangular plot
trisurf Triangular surface plot
Spatial Search
triangulation Triangulation in 2-D or 3-D
delaunayTriangulation Delaunay triangulation in 2-D and 3-D
dsearchn N-D nearest point search
tsearchn N-D closest simplex search
delaunay Delaunay triangulation
delaunayn N-D Delaunay triangulation
Convex Hull
convhull Convex hull
convhulln N-D convex hull
http://www.mathworks.in/help/matlab/ref/convhulln.htmlhttp://www.mathworks.in/help/matlab/ref/convhull.htmlhttp://www.mathworks.in/help/matlab/ref/delaunayn.htmlhttp://www.mathworks.in/help/matlab/ref/delaunay.htmlhttp://www.mathworks.in/help/matlab/ref/tsearchn.htmlhttp://www.mathworks.in/help/matlab/ref/dsearchn.htmlhttp://www.mathworks.in/help/matlab/ref/delaunaytriangulationclass.htmlhttp://www.mathworks.in/help/matlab/ref/triangulationclass.htmlhttp://www.mathworks.in/help/matlab/ref/trisurf.htmlhttp://www.mathworks.in/help/matlab/ref/triplot.htmlhttp://www.mathworks.in/help/matlab/ref/trimesh.htmlhttp://www.mathworks.in/help/matlab/ref/tetramesh.htmlhttp://www.mathworks.in/help/matlab/ref/delaunayn.htmlhttp://www.mathworks.in/help/matlab/ref/delaunay.htmlhttp://www.mathworks.in/help/matlab/ref/delaunaytriangulationclass.htmlhttp://www.mathworks.in/help/matlab/ref/trisurf.htmlhttp://www.mathworks.in/help/matlab/ref/triplot.htmlhttp://www.mathworks.in/help/matlab/ref/trimesh.htmlhttp://www.mathworks.in/help/matlab/ref/tetramesh.htmlhttp://www.mathworks.in/help/matlab/ref/triangulationclass.htmlhttp://www.mathworks.in/help/matlab/ref/unmesh.htmlhttp://www.mathworks.in/help/matlab/ref/treeplot.htmlhttp://www.mathworks.in/help/matlab/ref/treelayout.htmlhttp://www.mathworks.in/help/matlab/ref/symbfact.htmlhttp://www.mathworks.in/help/matlab/ref/gplot.htmlhttp://www.mathworks.in/help/matlab/ref/etreeplot.htmlhttp://www.mathworks.in/help/matlab/ref/etree.htmlhttp://www.mathworks.in/help/matlab/ref/tfqmr.html8/13/2019 MATLAB Documentation - MathWorks India
24/62
patch Create one or more filled polygons
trisurf Triangular surface plot
Voronoi Diagram
patch Create one or more filled polygons
voronoi Voronoi diagram
voronoin N-D Voronoi diagram
Elementary Polygons
polyarea Area of polygon
inpolygon Points inside polygonal region
rectint Rectangle intersection area
Graphics
2-D and 3-D Plots
Line Plots
plot 2-D line plot
plotyy 2-D line plots w ith y-axes on both left and right side
plot3 3-D line plot
loglog Log-log scale plot
semilogx Semilogarithmic plot
semilogy Semilogarithmic plot
errorbar Plot error bars along curve
fplot Plot function betw een specif ied limits
ezplot Easy-to-use function plotter
ezplot3 Easy-to-use 3-D parametric curve plotter
LineSpec (Line
Specification)
Line specification string syntax
ColorSpec (Color
Specification)
Color specification
Pie Charts, Bar Plots, and Histograms
bar Bar graph
bar3 Plot 3-D bar graph
barh Plot bar graph horizontally
bar3h Plot horizontal 3-D bar graph
hist Histogram plot
histc Histogram bin count
rose Angle histogram plot
http://www.mathworks.in/help/matlab/ref/rose.htmlhttp://www.mathworks.in/help/matlab/ref/histc.htmlhttp://www.mathworks.in/help/matlab/ref/hist.htmlhttp://www.mathworks.in/help/matlab/ref/bar3h.htmlhttp://www.mathworks.in/help/matlab/ref/barh.htmlhttp://www.mathworks.in/help/matlab/ref/bar3.htmlhttp://www.mathworks.in/help/matlab/ref/bar.htmlhttp://www.mathworks.in/help/matlab/ref/colorspec.htmlhttp://www.mathworks.in/help/matlab/ref/linespec.htmlhttp://www.mathworks.in/help/matlab/ref/ezplot3.htmlhttp://www.mathworks.in/help/matlab/ref/ezplot.htmlhttp://www.mathworks.in/help/matlab/ref/fplot.htmlhttp://www.mathworks.in/help/matlab/ref/errorbar.htmlhttp://www.mathworks.in/help/matlab/ref/semilogy.htmlhttp://www.mathworks.in/help/matlab/ref/semilogx.htmlhttp://www.mathworks.in/help/matlab/ref/loglog.htmlhttp://www.mathworks.in/help/matlab/ref/plot3.htmlhttp://www.mathworks.in/help/matlab/ref/plotyy.htmlhttp://www.mathworks.in/help/matlab/ref/plot.htmlhttp://www.mathworks.in/help/matlab/ref/rectint.htmlhttp://www.mathworks.in/help/matlab/ref/inpolygon.htmlhttp://www.mathworks.in/help/matlab/ref/polyarea.htmlhttp://www.mathworks.in/help/matlab/ref/voronoin.htmlhttp://www.mathworks.in/help/matlab/ref/voronoi.htmlhttp://www.mathworks.in/help/matlab/ref/patch.htmlhttp://www.mathworks.in/help/matlab/ref/trisurf.htmlhttp://www.mathworks.in/help/matlab/ref/patch.html8/13/2019 MATLAB Documentation - MathWorks India
25/62
pareto Pareto chart
area Filled area 2-D plot
pie Pie chart
pie3 3-D pie chart
Discre te Data Plots
stem Plot discrete sequence data
stairs Stairstep graph
stem3 Plot 3-D discrete sequence data
scatter scatter plot
scatter3 3-D scatter plot
spy Visualize sparsity pattern
plotmatrix scatter plot matrix
Polar Plots
polar Polar coordinate plot
rose Angle histogram plot
compass Plot arrow s emanating from origin
ezpolar Easy-to-use polar coordinate plotter
LineSpec (Line
Specification)
Line specification string syntax
ColorSpec (Color
Specification)
Color specification
Contour Plots
contour Contour plot of matrix
contourf Filled 2-D contour plot
contourc Low -level contour plot computation
contour3 3-D contour plot
contourslice Draw contours in volume slice planes
ezcontour Easy-to-use contour plotter
ezcontourf Easy-to-use filled contour plotter
Vector Fields
feather Plot velocity vectors
quiver Quiver or velocity plot
compass Plot arrow s emanating from origin
quiver3 3-D quiver or velocity plot
streamslice Plot streamlines in slice planes
streamline Plot streamlines from 2-D or 3-D vector data
http://www.mathworks.in/help/matlab/ref/streamline.htmlhttp://www.mathworks.in/help/matlab/ref/streamslice.htmlhttp://www.mathworks.in/help/matlab/ref/quiver3.htmlhttp://www.mathworks.in/help/matlab/ref/compass.htmlhttp://www.mathworks.in/help/matlab/ref/quiver.htmlhttp://www.mathworks.in/help/matlab/ref/feather.htmlhttp://www.mathworks.in/help/matlab/ref/ezcontourf.htmlhttp://www.mathworks.in/help/matlab/ref/ezcontour.htmlhttp://www.mathworks.in/help/matlab/ref/contourslice.htmlhttp://www.mathworks.in/help/matlab/ref/contour3.htmlhttp://www.mathworks.in/help/matlab/ref/contourc.htmlhttp://www.mathworks.in/help/matlab/ref/contourf.htmlhttp://www.mathworks.in/help/matlab/ref/contour.htmlhttp://www.mathworks.in/help/matlab/ref/colorspec.htmlhttp://www.mathworks.in/help/matlab/ref/linespec.htmlhttp://www.mathworks.in/help/matlab/ref/ezpolar.htmlhttp://www.mathworks.in/help/matlab/ref/compass.htmlhttp://www.mathworks.in/help/matlab/ref/rose.htmlhttp://www.mathworks.in/help/matlab/ref/polar.htmlhttp://www.mathworks.in/help/matlab/ref/plotmatrix.htmlhttp://www.mathworks.in/help/matlab/ref/spy.htmlhttp://w