How can I iteratively solve an algebraic equation?
Show older comments
Hi guys, How can I iteratively solve this equation z=(4.25*x+17)*y^(0.045*x-0.782) so that I end up with x=...? I was told my best chance would be to use Matlab...However, being a complete newbie to the software I think this is beyond my plane of existence! I tried to use the solve function solve('(4.25*x+17)*y^(0.045*x-0.782)-z,x'), but I keep getting an empty sym. Any help would be amazing! Thanks!
Accepted Answer
More Answers (1)
John D'Errico
on 8 Nov 2016
0 votes
Using solve, with symbolic (unknown) values for y and z, will never succeed. It is quite easy to formulate a problem with no analytical solution. This is one of them. It is also why solve failed to return an answer. There is no magic here.
If you have fixed, numeric values for y and z, then you can search for a numerical solution. vpasolve will suffice, or use fzero. Again though, there is NO functional form that you can write down for x as a function of y and z.
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!