Manually generated array of symbols

3 views (last 30 days)
Jelena Mackeprang
Jelena Mackeprang on 2 Nov 2016
Commented: Steven Lord on 2 Nov 2016
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
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

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!