Answers for "matlab get symbolic variable from function"

0

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.
Posted by: Guest on October-08-2021
0

matlab symbolic variables

% Creating symbolic variables with 2 different methods:
% 1:
syms x
% 2:
y = sym('y')
Posted by: Guest on September-06-2021

Browse Popular Code Answers by Language