how to get numerical value from symbolic variables equation
Show older comments
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..?
Accepted Answer
More Answers (1)
KALAIYARASAN K
on 6 May 2022
0 votes
% defining T1, T2, T3, T4, T5
T = sym('T',[1 5]);
Eqn = 5*T(3);
T(3)= 6;
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!