View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Matrix Logarithm with Frechet Derivatives and Condition Number

5.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 12.7 KB File ID: #38894 Version: 1.0
image thumbnail

Matrix Logarithm with Frechet Derivatives and Condition Number



Computing the matrix logarithm in real/complex arithmetic with derivatives and condition numbers.

| Watch this File

File Information

Computes the log(A) for any square matrix A with non-negative eigenvalues using the inverse scaling and squaring algorithm. When A is real this algorithm uses only real arithmetic. It is also possible to compute the Frechet derivative of log(A) in any direction E and cond(log, A) to give some idea of the accuracy.

This code can be called in the following ways:
   X = logm_frechet(A)
   L = logm_frechet(A,E)
   [X, cond] = logm_frechet(A)
   [X, L] = logm_frechet(A,E)
   [X, L, cond] = logm_frechet(A,E)
where X is log(A), L is the Frechet derivative and cond is the condition number.

Function LOGM_FRECHET_TEST.M runs a simple test of the codes.

More detail on the algorithm can be found in:
A. H. Al-Mohy, N. J. Higham and S. D. Relton. Computing the Frechet Derivative of the Matrix Logarithm and Estimating the Condition Number, MIMS Eprint 2012.72, Manchester Institute for Mathematical Sciences, The University of Manchester, UK, July 2012.

Required Products MATLAB
MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
05 Mar 2013 Daniel

Daniel (view profile)

Contact us