My situation is similar to having a Cos and Sin functions that would combine to the profile of the envelope but the envelope is offset horizontally by some dt.

It would be something like aCos(t+dt)+ bSin(t+dt)=Envelope(t), I want to find the coefficients and the time shift {a,b,dt}.

I have 2 data sets(lists) for the two input data sets and the data set for the envelope. How can I fit this? Using a NonLinearModelFit cannot fit this many functions at once.

  • 3
    $\begingroup$ Please share your data. $\endgroup$ – Anton Antonov Sep 19 '19 at 0:30
  • $\begingroup$ Here are MSE answers that might be of interest: (1), (2). $\endgroup$ – Anton Antonov Sep 19 '19 at 9:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.