2 Minor clean-up
source | link

I'm trying to get FindFitFindFit (or NonlinearModelFitNonlinearModelFit) to find a best fit trig function. The

The result I achieve is so obviously not the good fit I'd like as you can see below. I think this should be simple, but I don't seem to be able to have it work correctly.   

not findfit

Hopefully someone will be able to put me on the right track.

Cheers

Tony

I'm trying to get FindFit (or NonlinearModelFit) to find a best fit trig function. The result I achieve is so obviously not the good fit I'd like as you can see below. I think this should be simple, but I don't seem to be able to have it work correctly.  not findfit

Hopefully someone will be able to put me on the right track.

Cheers

Tony

I'm trying to get FindFit (or NonlinearModelFit) to find a best fit trig function.

The result I achieve is so obviously not the good fit I'd like as you can see below. I think this should be simple, but I don't seem to be able to have it work correctly. 

not findfit

Hopefully someone will be able to put me on the right track.

1
source | link

Why is FindFit failing to find a suitable trig model?

I'm trying to get FindFit (or NonlinearModelFit) to find a best fit trig function. The result I achieve is so obviously not the good fit I'd like as you can see below. I think this should be simple, but I don't seem to be able to have it work correctly. not findfit

Hopefully someone will be able to put me on the right track.

Cheers

Tony