I have some points and i want to fit or correlate the best curve through them.
How can i do that?
For example i have attached sample data...
I want to fit with MATLAB or EXCEL....
Please help me:
It's only a sample data that i have generated...I want to fit or correlate at any conditions and for arbitrary data
Is kernel smoothing can help me? if yes how? I can't do that
Thanks
Looking at your data
(Large version)
it seems that it fits $$ F(t) = g(t) \sin(2\pi f t + \phi_0) $$ so the unknowns are the envelope function $g(t)$, the frequency $f$ and the initial angle $\phi_0$.
It even looks that $g(t)$ is linear: $$ g(t) = m t + n $$
An objective function to minimize could be $$ h(m, n, f, \phi_0) = \sum_{k=1}^N \left( (m t_k + n) \sin(2\pi f t_k + \phi_0)-F_k \right)^2 $$ where the $(t_k, F_k)$ are the data points.