Main Content
symvar
Determine symbolic variables in expression
Syntax
Description
C = symvar(
searches
the expression, expr
)expr
, for identifiers other than i
, j
, pi
, inf
, nan
, eps
,
and common functions. These identifiers are the names of variables
in the expression. symvar
returns the identifiers
in a cell array of character vectors, C
. If symvar
finds
no identifiers, then C
is an empty cell array.
Examples
Input Arguments
Algorithms
The common functions and constants that the
symvar
function ignores are:eps
i
inf
Inf
j
nan
NaN
pi
Version History
Introduced before R2006a