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