[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: matrix problems
From: |
James Sherman Jr. |
Subject: |
Re: matrix problems |
Date: |
Tue, 5 Feb 2008 16:20:38 -0500 |
On Feb 5, 2008 11:48 AM, jonnysukes <address@hidden> 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?
- matrix problems, jonnysukes, 2008/02/05
- Re: matrix problems,
James Sherman Jr. <=