how to get numerical value from symbolic variables equation
15 ビュー (過去 30 日間)
古いコメントを表示
I have the following code
% defining T1, T2, T3, T4, T5
T = sym('T',[1 5]);
Eqn = 5*T(3);
T(3)= 6;
Now each time I call the value of Eqn it shows me 5*T(3)
How can I get a numerical value..?
0 件のコメント
採用された回答
その他の回答 (1 件)
KALAIYARASAN K
2022 年 5 月 6 日
% defining T1, T2, T3, T4, T5
T = sym('T',[1 5]);
Eqn = 5*T(3);
T(3)= 6;
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Symbolic Math Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!