How can I store symbolic variables and symbolic functions in a array?
Show older comments
How can I store symbolic variables and symbolic functions in a array?
Accepted Answer
More Answers (2)
Ameer Hamza
on 13 Sep 2020
You can create such array just like any other array in MATLAB. For example
syms x y f(x) g(x,y)
V = [x y f x];
or
syms x y f(x) g(x,y)
V(1) = x;
V(2) = y;
V(3) = f;
V(4) = g;
1 Comment
Walter Roberson
on 13 Sep 2020
no, symbolic functions do not work that way
Surath Ghosh
on 17 Sep 2020
0 votes
Categories
Find more on Whos in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!