help-octave
[Top][All Lists]

## Re: long division?

 From: Doug Stewart Subject: Re: long division? Date: Thu, 27 Oct 2005 15:41:40 -0500 User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

```Thanks Frank
Doug
Frank Palazzolo wrote:

```
```Doug,

conv() and deconv() do polynomial multiplication and division,
respectively...

[Q, R] = deconv([1 B C D],[1 A])

-Frank

-----Original Message-----
```
From: Doug Stewart [mailto:address@hidden Sent: Thursday, October 27, 2005 4:04 PM
```To: address@hidden
Subject: long division?

a:(s^3+B*s^2+C*s+d)/(s+a);
2        3
s C + s  B + s  + d
(%o1)                   -------------------
s + a

```
I would like to do this division and get the quadratic and the remainder both out as a formula to use later.
```How do I do this?

Thanks

Doug Stewart

-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------

-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------

```
```

-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------

```