Difference between Interpolation (griddata) and linearintep (fit)

I am working on a surface fitting and came across these two inperpolation methods. I can use 'griddata' which is working very nicely and recently i got to know about the fact that 'fit' function can also interpolate. Now what is the difference between these two techniques? Are they same or there is some difference?

3 Commenti

YOu use both the functions.......and compare the out puts withoriginal data......and you can see which is performing better.
Thank You. I have one more question regarding it. Does they use same algorithm or different?
Read the help-documentation!
helpwin griddata
helpwin fit
The first-level (and most likely second-level) information is there, also links to more detailed documentation.
HTH

Accedi per commentare.

Risposte (0)

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by