Change a variable's value wherever exists
Mostra commenti meno recenti
I have the following code:
syms a
x = a+1;
a = 2;
However, the value of x is equal to a+1.
Because I put a=2, how can I take the output of x to be equal to 2+1=3?
Thanks
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Calculus in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!