How to fit this data?

14 views (last 30 days)
Devan Krishnamurthy
Devan Krishnamurthy on 3 Aug 2018
Edited: jonas on 7 Aug 2018
Hello all,
I have raw data (column B) and fit data (column A). I am wondering what fit was it?. Can anyone please have a look at the data and fit (graph) and clarify my doubt?. How do I perform it in MatLab?. Kindly help.
  3 Comments
Devan Krishnamurthy
Devan Krishnamurthy on 3 Aug 2018
Thank you Jonas. I will look into it.
jonas
jonas on 3 Aug 2018
No problem, I've put the comment in the answers section so that the question is flagged as answered. As stated, if you provide some data I could try to identify the method used (granted that it's one of the standard ones).

Sign in to comment.

Accepted Answer

jonas
jonas on 3 Aug 2018
Edited: jonas on 3 Aug 2018
Looks more like a smoothing filter than a fitted equation. Perhaps a moving average.
A moving average filter goes over your data point-by-point and calculates an average within a range (window) from that point. See for example the MATLAB functions movmean and smooth . Your fit does not look parametric in nature as it retains the noise (although damped out). More likely some type of filter.
Try smoothing your data with different methods, using the smooth function, and see if you can reproduce the results. If you provide data, I'd be willing to help.
  7 Comments
Devan Krishnamurthy
Devan Krishnamurthy on 7 Aug 2018
One more help, can you please help me to calculate FWHM of the fit data?.
jonas
jonas on 7 Aug 2018
Edited: jonas on 7 Aug 2018
Full width of half max? I dont know what that means in this context.

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!