Manually generated array of symbols
3 views (last 30 days)
Show older comments
Hello,
I'm new to Matlab, so please go easy on me. I'd like to generate an array of symbolic variables like this [t u v] or something similar. Basically the same as an array of automatically generated symbolic variables, but with the exception that I'd like to give each variable a special name.
Is there any possibility to do so?
Thanks in advance.
1 Comment
Steven Lord
on 2 Nov 2016
Can you say more about what "special name" you want to give each variable?
Would creating a symbolic matrix satisfy your needs?
A = sym('A', [4 4])
B = 2*A(3, 2)^2 % use one of the variables
Answers (0)
See Also
Categories
Find more on Logical 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!