Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab function fitting

  1. Jun 30, 2011 #1
    Hello all,

    How do people generally fit data in Matlab? I am trying to fit an exponential decay and it doesn't look straightforward. I am looking this up at the moment, but maybe people can give me good answers or starting points here.

    Thank you!
  2. jcsd
  3. Jun 30, 2011 #2
    Think this is fminspleas
  4. Jun 30, 2011 #3


    User Avatar
    Gold Member

    I usually use polyfit with the appropriate logarithms.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook