Question: Saving the solution from fsolve



  I have a question. Consider


fsolve(x^2+3*x+1=3, x);


  I want to save the two roots into two variables. What kind of commend shall I use? 


P.S. My further aim comes from solving an equation without analytical solution. Therefore I cannot plug in the solution formula. 



Please Wait...