Theoretical background for Matlab functions

Hello,
Please, is there anyway or anywhere to find the theoretical background of what is programmed in Matlab functions ? For example I would like to see the formula that is programmed in the griddedInterpolant function, but I can find it nowhere. The Matlab documentation does not provide.
Thank you for help.

5 Comments

The "formula"? There are many methods in griddedInterpolant. A complete explanation of everything would require a college level course, or more.
In general you can try
open <function name>
and read through the source code. In the case of griddedInterpolant, where it is built-in (and therefore unavailable) you can try going back to older Matlab versions to see if you can view it there. This might work because often Mathworks will have a function written in a regular m-file in a release before rewriting it as a built-in function.
You can also try your hand at independent research and look up algorithms for these functions in textbooks, papers, or even other open-source languages. They are usually common enough (at least at an introductory level).
griddedInterpolant does have a lot of documentation. And you can start by trying to understand the various interp functions.
Sure John D'Errico. But if a (may be huge) documentation exists I can check therein for specific stuffs. Thank you anyway.
Thank you very much Daniel Martire for your help.
Daniel M
Daniel M on 8 Oct 2019
Edited: Daniel M on 8 Oct 2019
Finally, you can review John D'Errico's own gridfit utility. John's code is always top quality, easily readable, and well documented.

Sign in to comment.

Answers (0)

Categories

Find more on Language Fundamentals in Help Center and File Exchange

Asked:

on 8 Oct 2019

Edited:

on 8 Oct 2019

Community Treasure Hunt

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

Start Hunting!