[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Root finding procedure?
From: |
Jack A Walker/BII |
Subject: |
Re: Root finding procedure? |
Date: |
Tue, 08 Jul 1997 09:42:00 -0800 (pst) |
Matlab's root finder for polynomials finds the eigen values of the
companion matrix of the polynomial. In a way sort of ironic.
Jack
help-octave @ bevo.che.wisc.edu at INTERNET
07/05/97 10:18 AM
To: hoffmann @ ehmgs2.et.tu-dresden.de at address@hidden
cc: help-octave @ bevo.che.wisc.edu at address@hidden, farnswor @
cob.ohio-state.edu at address@hidden (bcc: Jack A Walker/BII)
Subject: Re: Root finding procedure?
The thing that comes to mind is fsolve. Write a m-file which takes x as
an argument and return det(H). Use fsolve and it will return the value
of x that makes det(H) as close to zero as possible. Of course there
will be a problem with multiple roots and so the answer you get will
depend on the starting value you give to fsolve. I don't know of one
that returns all the roots.
On Fri, 4 Jul 1997, Thomas Hoffmann wrote:
> I am looking for octave- or matlab-code, that allows me to find the
> roots of the polynomial of x that results from det(H)=0, where the Hij
> are polynomials in x theirself.
> E.g.: find the roots x for
>
> 3x-4 2x+9
> det ( ) = 0
> -x+22 4x-11
>
> I can program such a procedure myself (with successive convolution),
> but this problem seems standard enough to me, that there could be a
> procedure out there in octave-land.
> Any hints?
>
> Thomas Hoffmann.
>
(See attached file: RFC822.TXT)
Received: from bevo.che.wisc.edu by ccgate.dp.beckman.com (SMTPLINK V2.11
PreRelease 4)
; Sat, 05 Jul 97 10:17:49 pst
Return-Path: <address@hidden>
Received: from localhost (address@hidden) by bevo.che.wisc.edu (8.6.12/8.6.12)
with SMTP id MAA16149; Sat, 5 Jul 1997 12:14:09 -0500
Received: by bevo.che.wisc.edu (bulk-mailer v1.3); Sat, 5 Jul 1997 12:12:36
-0500
Received: (from address@hidden) by bevo.che.wisc.edu (8.6.12/8.6.12) id
MAA16088 for address@hidden; Sat, 5 Jul 1997 12:12:34 -0500
Resent-Date: Sat, 5 Jul 1997 12:12:34 -0500
Date: Sat, 5 Jul 1997 13:12:26 -0400 (EDT)
From: Heber Farnsworth <address@hidden>
Subject: Re: Root finding procedure?
To: Thomas Hoffmann <address@hidden>
cc: address@hidden
In-Reply-To: <address@hidden>
Message-ID: <address@hidden>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"gizbI9s5FqB.A.V7D.CCovz"@bevo.che.wisc.edu>
Resent-From: address@hidden
X-Mailing-List: <address@hidden>
X-Loop: address@hidden
Resent-Sender: address@hidden