Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR MATLAB

matlab get symbolic variable from function

symvar(s)
symvar(s,n)

symvar(s) returns a vector of all symbolic variables in s. The variables are
in alphabetical order with uppercase letters preceding lowercase letters.

symvar(s,n) chooses the n symbolic variables in s that are alphabetically
closest to x and returns them in alphabetical order. If s is a symbolic
function, symvar(s,n) returns the input arguments of s before other variables
in s.
Source by www.mathworks.com #
 
PREVIOUS NEXT
Tagged: #matlab #symbolic #variable #function
ADD COMMENT
Topic
Name
4+3 =