|
The following example should help you with the numeric substituition to symbol.
syms a b c x
x=solve(a*x^2+b*x+c,'x');
xsub=subs(x,{a,b,c},{1,2,3});
"Rishabh " <rishabhladha17@gmail.com> wrote in message <i412ol$1de$1@fred.mathworks.com>...
> How do I substitute numeric values for symbols that I have created. I have my solution in terms of symbols. Now, I want to a definite ans. I am solving 3 simultaneous differential equations that involve 5 symbols. Help me as I am relatively new to MATLAB...
>
> Thank you..
|