Skip to main content
17-Peridot
Mar 18, 2015 9:50 AM UTC
Solved

Fitting function for a decaying oscillation

hello folks,

I'm trying to fit a function to the reversal points of an oscillation I measured some time ago. I tried LeastSquaresFit, but it fails claiming that the confidence limit was exceeded. I tried different confidence limits but to no avail.

Does anybody has a suggestions how to make it fit?

I'm using MC15 on a win7 machine.

Raiko

RichardJAnswer
19-Tanzanite
Mar 18, 2015 1:55 PM UTC

You have te in milliseconds, and x in seconds, so your function does not resemble the data. You also need to split off the first column of beta, which contains the fitted parameters. You then get a fit. Not a very good one, but at least it works

2 replies

RichardJ19-TanzaniteAnswer
19-Tanzanite
Mar 18, 2015 1:55 PM UTC

You have te in milliseconds, and x in seconds, so your function does not resemble the data. You also need to split off the first column of beta, which contains the fitted parameters. You then get a fit. Not a very good one, but at least it works

Translate
Raiko17-PeridotAuthor
17-Peridot
Mar 18, 2015 1:59 PM UTC

Thank you Richard. That was the clue I needed.

Raiko

Translate