Group Abstract Group Abstract

Message Boards Message Boards

0
|
2.5K Views
|
3 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Sinusoidal regression on dataset

Posted 10 months ago
POSTED BY: Jen Granato
3 Replies
Attachments:
Posted 10 months ago

It would be help (in fact, essential) that you produce the code you used for at least NonlinearModelFit.

Generally when fitting sine waves to data with NonlinearModelFit, there needs to be a reasonable guess at the parameter representing the frequency of the sine wave. The default starting value is 1 for all parameters if you don't give starting values.

If your model is a simple sine wave and the time values are in days, then using 2 Pi/365 will likely be a good starting value for the frequency parameter.

POSTED BY: Jim Baldwin
Posted 10 months ago
POSTED BY: Bill Nelson
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard