symvar
Find symbolic variables in symbolic input
Syntax
Description
symvar( returns a vector of all symbolic
variables in s)s. The variables are in alphabetical order with uppercase
letters preceding lowercase letters.
Examples
Input Arguments
Tips
symvartreats the constantspi,i, andjas variables.If there are no symbolic variables in
s,symvarreturns the empty vector.
Algorithms
When symvar sorts the symbolic variables alphabetically, all
uppercase letters have precedence over lowercase: 0 1 ... 9 A B ... Z a b ... z.
Version History
Introduced in R2008b