help-octave
[Top][All Lists]
Advanced

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

Re: 2 linear eq


From: miguel manese
Subject: Re: 2 linear eq
Date: Tue, 8 Feb 2005 12:11:07 +0800

I am not an elite in this group so I can't flame you to hell, but this
is ridiculous. Your function f should read

function z = f(x)
    z = [8*x(1)+x(2)+29, 8*x(1)-x(2)+19];
endfunction



On Mon, 7 Feb 2005 19:27:49 -0800, shih lin <address@hidden> wrote:
> to solve  8x + y =-29
> 8x - y = -19
> 
> I do
> 
> >> function z=f(x)
>   z=[8*x(1)+x(2)=-29, 8*x(1)-x(2)=-19];
>    endfunction
> >> fsolve("f",[0,0])
> error: invalid lvalue function called in expression
> error: evaluating assignment expression near line 2, column 17
> error: evaluating assignment expression near line 2, column 4
> error: called from `f'
> error: fsolve: evaluation of user-supplied function failed
> >>
> I am in GNU Octave, version 2.1.42 (i686-pc-cygwin), if anyone can point how 
> to
> upgrade I am highly appreciate(I get it just follow download website's
> instruction)
> 
> eric
> 
> ------------------------------------------------------------
> http://Game.37.com/  <--- Free Games
> http://newJoke.com/   <---  J O K E S  ! ! !
> 
>



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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