Symbolic Math Toolbox | Search  Help Desk | |
findsym | Examples | See Also |
Finds the variables in a symbolic expression or matrix.
r = findsym(S) r = findsym(S,n)
findsym(S)
returns all symbolic variables in S
in alphabetical order, separated by commas. If S
does not contain any variables, findsym
returns an empty string.
findsym(S,n)
returns the n
variables alphabetically closest to x
.
Note
i
or j
, that begins with an alphabetic character.
syms a x y z t
findsym(sin(pi
*t))
returns
pi,
t
.
findsym(x+i*y-j*z)
returns
x, y, z
.
findsym(a+y,1)
returns y
.
compose
, diff
, int
, limit
, taylor