help-octave
[Top][All Lists]

## Re: Sturm Method with Octave

 From: Kai Torben Ohlhus Subject: Re: Sturm Method with Octave Date: Thu, 24 Oct 2013 22:16:54 +0200

On Thu, Oct 24, 2013 at 11:40 AM, Tobal wrote:
Does it exist some Octave command to apply Sturm
http://en.wikipedia.org/wiki/Sturm%27s_theorem ?
If it is not, I need to implement it how i can divide 2 polynomials and
returns the residue to me.For instance:
I want divide the polynomial [1,0,0,-4,1] with [4,0,0,-4] and it must return
the polynomial residue [-3,0],

--
View this message in context: http://octave.1599824.n4.nabble.com/Sturm-Method-with-Octave-tp4658477.html
Sent from the Octave - General mailing list archive at Nabble.com.
_______________________________________________
Help-octave mailing list
https://mailman.cae.wisc.edu/listinfo/help-octave

Hello Tobal,

Are you looking for deconv() https://www.gnu.org/software/octave/doc/interpreter/Products-of-Polynomials.html?

>> [b, r] = deconv ([1,0,0,-4,1], [4,0,0,-4])
b =
0.25000   0.00000
r =
0   0   0  -3   1

HTH, Kai