Theoretical background for Matlab functions
Show older comments
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
John D'Errico
on 8 Oct 2019
The "formula"? There are many methods in griddedInterpolant. A complete explanation of everything would require a college level course, or more.
Daniel M
on 8 Oct 2019
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.
Idossou Marius Adom
on 8 Oct 2019
Idossou Marius Adom
on 8 Oct 2019
Answers (0)
Categories
Find more on Language Fundamentals in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!