help-octave
[Top][All Lists]

## Re: thoughts on indefinate variables...

 From: Jonathan M Hill Subject: Re: thoughts on indefinate variables... Date: Wed, 15 Sep 1999 19:24:18 -0400 (EDT)

```Hello;

I guess I'm confused...it is not clear to me what you're asking.
I'll throw this out, tell me how far off I am.  I know that Octave has
tools for manipulating polynomials.  Examples of polynomials
include y = 2 * x and y = 3 * x^2 + 2 * x + 5

To represent a polynomial, write the coeficients to a vector.
Once in this form you use functions to manipulate the polynomial.
To take the derivative use polyderiv(), it returns the coefecients of
the derivative polynomial.  To integrate use polyinteg().  The roots()
function returns the zeros.

I find the info pages helpful.

Jonathan Hill

On Wed, 15 Sep 1999, Adam Balgach wrote:

> After little more then a day of attemping to write some programs that will
> sove indefinate derviatives and integrals using strings because octave wont
> support a command like "y=2*x" if x is not defined, i wanted to know if
> anyone was working on a solution to this problem.  I pretty sure that would
> mean a restructuring of octave handles variables, which would be a major
> task.  Is it planned for the next release of octave? would anyone like to
> help me get working on it.  thanks.
>
>
>
>
> ---------------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.  To ensure
> that development continues, see www.che.wisc.edu/octave/giftform.html
> Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
> ---------------------------------------------------------------------
>
>

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