Change the simbolic meaning of a variable.

2 views (last 30 days)
Nicolás Palacios
Nicolás Palacios on 12 Apr 2020
Answered: the cyclist on 12 Apr 2020
Hi everyone, im a noob using matlab and i hope you can help me. I assigned "x" a simbolic meaning using syms in order to differetiate it and later make some substitution in the answer. However I want to use the resulting expression in another function, which uses the newton method to solve equations. However her my "x" doesnt ave to be symbolic. Someone knows how to help me, thanks in advance.
script (1)
FUNCTION

Answers (1)

the cyclist
the cyclist on 12 Apr 2020
Use the subs command.

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!