Solving multivariable equation using Matlab

  • Context: MATLAB 
  • Thread starter Thread starter denisexx
  • Start date Start date
  • Tags Tags
    Matlab Multivariable
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 13K views
denisexx
Messages
1
Reaction score
0
Hi, I have a problem in solving a multivariable equation. This multivariable consists of several variable which is known and are insert as input intially. For example: f(x)= a*x+b*x^2+-c*x+d(x^4+e)^2, f(x)=0 and a,b,c,d,e are inputs. I wanted to get the answer x. I have tried to use fzero and fsovle, but Matlab seem to stop at the first equation when it cannot determine the value x. The error shows : X is undetermined variable or equation.

Ask: Am i right to use fzero/fsolve in this case to solve this equation?
 
Physics news on Phys.org