Numerical underflow problem - help about matrix logarithm needed please
- From: "Ronan Donaghy" <ronand0@xxxxxxxxxxxxxxxxx>
- Date: Wed, 16 Aug 2006 12:29:48 -0400
Hi all, I am currently using Matlab to calculate the value of a
function
f = A*expm(B*n)*C
where A is a 1x3 vector, B is an upper triangular 3x3 matrix, n is a
scalar and C is a 3x1 vector. f is then a scalar and I take the log
of f.
PROBLEM: For some values of n, i.e. large n, f turns out to be zero.
This is because the values of the matrix expm(B*n) all become zero
(probably due to the diagonal elements of B being negative).
Is there any way of calculting the logarithm of f without having to
take the exponential of B*n?
i.e. if
log(f) = log(A) + B*n + log(C)
was true it would be nice!
(clearly not true, but just to get the idea of what I mean!)
Any help greatly appreciated
Thanks
Ronan
.
- Follow-Ups:
- Re: Numerical underflow problem - help about matrix logarithm needed please
- From: Roger Stafford
- Re: Numerical underflow problem - help about matrix logarithm needed please
- Prev by Date: 3D information from images
- Next by Date: changing datatips/-cursors
- Previous by thread: 3D information from images
- Next by thread: Re: Numerical underflow problem - help about matrix logarithm needed please
- Index(es):
Relevant Pages
|