Manually generated array of symbols
显示 更早的评论
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 个评论
Steven Lord
2016-11-2
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
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!