The NAG Foundation Toolbox provides access from MATLAB® to the large set of numerical routines contained in the Fortran-based NAG Foundation Library.
The NAG Foundation Toolbox consists of over 240 M-files covering many subjects, including optimization, ordinary and partial differential equations, quadrature, and statistics. The toolbox also adds valuable new functions for specific tasks such as solving boundary-value problems, performing adaptive one-dimensional and multidimensional quadrature, fitting to curves and surfaces, and directly accessing LAPACK algorithms for linear equation solving.