Manually generated array of symbols

조회 수: 3 (최근 30일)
Jelena Mackeprang
Jelena Mackeprang 2016년 11월 2일
댓글: Steven Lord 2016년 11월 2일
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
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개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by