MATLAB: Using Fzero for one variable in a nonlinear equation with multiple variables

fzero nonlinear fsolve variables

Hi, If I have a non linear equation with multiple variables but I want to solve for one variable (in terms of those other variables) then can I use fzero? If so, how?
Thanks

Best Answer

You want a solution for r as an explicit function of a, b, dh, and de. You cannot accomplish that with 'fzero' or any of the functions of the Optimization Toolbox, which only give you solutions for particular numerical values of these parameters. Your only hope is 'solve' of the symbolic toolbox, and if that fails, it is simply something you presumably cannot achieve. There are many such equations whose explicit solutions are totally unknown to mathematicians, and this may be one of these.
Related Question