Determine functional type of symbolic object
returns the functional type of a symbolic object.s
= symFunType(symObj
)
If symObj
is a symbolic function or a symbolic expression, then
symFunType
returns the topmost function name or operator of
symObj
. For example, syms x;
symFunType(2*sin(x))
returns "times"
.
If symObj
is not a symbolic function or a symbolic expression,
then symFunType
returns the same output as symType
.
For example, symFunType(sym('2'))
returns
"integer"
.