MTM
findsym
find symbols
Calling Sequence
Parameters
Description
Examples
findsym(M)
findsym(M,n)
M
-
array or expression
n
integer
The findsym(M) function finds symbolic variables in M. The sequence of symbols are returned in alphabetical order.
The findsym(M,n) function finds the n symbolic variables in an expression nearest in alphabetical order to the letter x.
Symbolic constants like the imaginary unit and Pi are not considered variables, so they will not be returned from a call to findsym even when present in the given expression.
with⁡MTM:
M≔Matrix⁡2,3,fill=a⁢x+y:
findsym⁡M
axy
findsym⁡α+a+b
aαb
findsym⁡cos⁡α⁢b⁢x1+14⁢y,2
x1y
findsym⁡y⁢4+3⁢I+6
y
See Also
indets
Download Help Document