title: using options in lsqcurvefit
body: <p>I set my options to</p>
  
  <pre><code>options=optimset('LevenbergMarquardt', 'on')
  </code></pre>
  
  <p>and then employ <code>lsqcurvefit</code> like below,</p>
  
  <pre><code>[x,resnorm,residual,exitflag,output] = lsqcurvefit(@myfun, [0.01 0.3], xdata, ydata, [-inf -inf], [inf inf], options)
  </code></pre>
  
  <p>but the problem is that I don't now why I will get for output :</p>
  
  <p>output = </p>
  
  <pre><code>firstorderopt: 3.4390e-07
     iterations: 4
      funcCount: 15
   cgiterations: 0
      algorithm: 'large-scale: trust-region reflective Newton'
        message: [1x425 char]
  </code></pre>
  
  <p>Does this mean Matlab did not use the algorithm Levenberg Marquardt? </p>
  
  <p>But I did set my options to levenberg Marquardt algorithm!!!</p>
  
  <p>I'd appreciate any help.</p>