Manually generated array of symbols

1 visualizzazione (ultimi 30 giorni)
Jelena Mackeprang
Jelena Mackeprang il 2 Nov 2016
Commentato: Steven Lord il 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 Commento
Steven Lord
Steven Lord il 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

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by