Syms and Plugging numbers into equations
19 views (last 30 days)
Show older comments
Essentially I used syms so that I could do a partial derivative, g. Now that I have that, I want to plug in the values for the symbols I created, and then plug those values into g, and have MATLAB return a numerical result as my final answer.
How would I go about doing this?
0 Comments
Answers (1)
Walter Roberson
on 24 Feb 2013
double( subs(g, {variable1, variable, variable3, ..), {value1, value2, value3, ...}) )
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!