help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: matrix functions


From: CdeMills
Subject: Re: matrix functions
Date: Tue, 21 Dec 2010 05:54:26 -0800 (PST)


Bård Skaflestad wrote:
> 
> 
>> f(A) = V[f(D)]inv(V)
> 
> I was about to suggest you use the 'funm' function, but now I see that
> 'funm' is only available (by default) in That Other Software.  On the
> other hand, the 'linear-algebra' add-on package from OctaveForge does
> contain a 'funm' implementation.  I haven't used it (or any other such
> packages for that matter), but you may want to start from there.
> 
> Do note, however, that the eigenvalue expansion might not have the best
> cost/benefit ratio.  Other implementations I've seen are based on the
> Schur decomposition of the matrix rather than the eigenvalue
> decomposition.  Also, if you can bound the norm(A) you may want to look
> into Padé approximations.
> 
> 

Nice. I also discovered that the linear-algebra package contains a 'thfm'
function, which computes trigonometric funcs by using logm and expm, where
the latter can be applied to non-diagonalisable matrices.

Pascal
-- 
View this message in context: 
http://octave.1599824.n4.nabble.com/matrix-functions-tp3137935p3151915.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]