Single NAG Toolbox for MATLAB® now offers more choice

4 October 2013 - The Numerical Algorithms Group announces the latest release of its NAG Toolbox for MATLAB® to Mark 24 - keeping its position as the world's most comprehensive single Toolbox for MATLAB. Over 130 NEW functions have been integrated into the Toolbox at Mark 24, bringing the total of maths and stats functions to 1,500. Users appreciate the NAG Toolbox for MATLAB as it complements MATLAB by allowing the easy use of NAG and MATLAB functions concurrently giving increased algorithmic choice.

NAG Toolbox for MATLAB being used to fit a surface through data points
Image shows the NAG Toolbox for MATLAB being used to fit a surface through data points

New NAG Toolbox maths and stats functionality:

Multi-start (global) optimization - A new global optimization function for nonlinear sum-of-squares problems with nonlinear constraints. The function uses a method which can be configured to return the best few minimum points found, and is designed to complement the general nonlinear global optimisation multi-start function introduced at Mark 23.

Non-negative least squares (local optimization) - In response to user-demand NAG has added a bounded variable linear least squares solver into our local optimisation chapter. Often the requirement is for the less general non-negative least squares problem which this function also addresses. It is designed for dense problems of moderate size, though no practical size limit is enforced by the function itself. Optionally the user may ask for a solution of minimal length to enforce uniqueness whenever the matrix is not of full rank.

Nearest Correlation Matrix - Adding to the existing nearest correlation matrix functionality in the NAG Library is the cutting edge 'individually weighted elements' nearest correlation matrix function. This function allows the user to weight individual elements in their approximate correlation matrix. It can also force the computed correlation matrix to be positive definite, required by some applications to improve the condition of the matrix.

Inhomogeneous Time Series - A suite of three new functions for processing inhomogeneous time series has been added to the time series analysis chapter. An inhomogeneous time series is one that has been sampled at irregular time intervals.

Gaussian Mixture Model - A new statistical clustering function, requested by our market research customers, has been added. The Gaussian Mixture Model is a useful tool for summarising groups in a multivariate dataset.

Confluent Hypergeometric Function (1F1) - Functions to evaluate the confluent hypergeometric function, commonly found in many applications including option pricing, have been included. These functions have been designed to provide high accuracy solutions over a large range of input parameters. Furthermore, they may be used to determine scaled solutions for when the value of the function is not explicitly representable.

Brownian Bridge & random fields - Functions for simulating a Brownian bridge and from a family of random fields have been added to the random number generators chapter.

Best subsets - A general purpose branch and bound algorithm for selecting the best subset of features from a larger population of features has been added to the operations research chapter.

Real sparse eigenproblems - A new function that computes selected eigenvalues and eigenvectors of a real sparse general matrix has been included. It combines flexible algorithms from the sparse linear algebra chapters under a simple interface. The function has proven to be extremely efficient at solving user-supplied large sparse eigenproblems.

Matrix Functions - Further additions have been made in the area of matrix functions resulting from NAG's Knowledge Transfer Partnership with the University of Manchester. New functions compute the matrix logarithm, exponential, sine, cosine, sinh or cosh of real and complex matrices (Schur-Parlett algorithm), function of real and complex matrices (using numerical differentiation) and function of real and complex matrices (using user-supplied derivatives).

Two stage spline approximation - Mark 24 features the first part of collaborative work with the University of Strathclyde. The new functionality sits in the curve and surface fitting chapter; it may be used to compute a spline approximation to a set of scattered data, which it does using a two stage approximation method.

Speaking of Mark 24, a Senior Developer at one of NAG's partners said "I was particularly pleased to see the addition of the Log Matrix and Exponential Matrix functions and the fact that these solvers worked with general matrices as well as symmetric is particularly useful for me. The further additions to the suite of Nearest Correlation Matrix functions as well as new additions to the Eigenvalues Chapter are of course very valuable too. I am also interested to experiment with the Real Confluent Hypergeometric function as this may have several uses in future projects".

More benefits:

  • HPC enabled - over a third of the functions in the NAG Toolbox for MATLAB are parallelised to take advantage of manycore/multicore systems
  • Highly detailed documentation accessible from MATLAB's help system, giving background information and function specification. In addition it guides users to a suitable function for their particular problem via decision trees
  • Expert Support Service direct from NAG's algorithm development team - if users need help, NAG's development team are on hand to offer assistance with problems
  • Hands-on Product Training - NAG offers a wide range of tailored training courses either at our offices or in-house, including 'hands-on' practical sessions, helping users to get the most out of their software.

The NAG Toolbox for MATLAB is available for 32-bit and 64-bit Microsoft Windows and 64-bit Linux systems; it will also be made available for Mac OS X. For more information visit http://www.nag.co.uk/numeric/MB/start.asp.