help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

## Re: info = 3?

 From: Peter Cloetens Subject: Re: info = 3? Date: Sun, 7 Jan 2007 18:11:37 +0100 User-agent: Internet Messaging Program (IMP) 3.2.1

```Quoting antonio palestrini <address@hidden>:

function y = wiskunde(x)
y(1) = 2*x(1) + 2;
y(2) = 2*x(1).^2 + 3*x(1) + 5;
endfunction

> >       y(2) = 2*x(1).^2 + 3*x(1) + 5;
> > endfunction
>
> just to understand your discussion .. do you
> really wanted to put "3*x(1)" in the second equation or
> it was "3*x(2) that makes the system solvable?
>
> In the first case it'd be nice if the error message is something
> like "over-identified system".
>
> ciao
> antonio
>

In that case the solution is obviously:
x(1) = -1
x(2) = -7/3
and fsolve will return info = 1

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

```

reply via email to

 [Prev in Thread] Current Thread [Next in Thread]