Symbolic Math Toolbox    
findsym

Finds the variables in a symbolic expression or matrix

Syntax

Description

For a symbolic expression or matrix S, 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. For single-letter variables that are equally close to x in the alphabet, findsym treats the letter that comes later in the alphabet as being "closer."

findsym(S,1) returns the variable closest to x. This is the default symbolic variable, when none is specified, for the subs and diff commands.

Examples

See Also
compose, diff, int, limit, taylor


  factor finverse 

Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS