matrix problems

James Sherman Jr. shermanj at umd.edu
Tue Feb 5 15:20:38 CST 2008


On Feb 5, 2008 11:48 AM, jonnysukes <jonsukovich at gmail.com> wrote:
>
> I'm trying to run a matlab script for a class I'm taking now, but I can't get
> it to work. I already went through the script and changed all the syntax to
> follow octave notations. The problem I'm having is trying to run the
> operation:
>
> C =D\f
>
> I've gone through all the checks in the code and I found that the matrix D
> has entries of +-Inf and so it can't run the operation. I'm almost positive
> that's the problem because thats where the code stops running. But the
> entries in D aren't actually Inf, they're just bigger than double precision
> supports.

What are the magnitudes of the other values of in this D matrix?  Even
if really large values of D are thresholded like you do below, if D is
singular (or badly scaled, like it sounds in your case) the function \
won't work.  What values of ri and z are you using as input to get
such huge numbers?


More information about the Help-octave mailing list