From help-request at octave dot org Mon Feb 7 21:26:45 2005 Subject: 2 linear eq From: "shih lin" To: help at octave dot org Date: Mon, 7 Feb 2005 19:27:49 -0800 This is a multi-part message in MIME format... --S2S6XJHLc6WjhrVXQIuW5YGOa Content-Type: text/plain Content-Transfer-Encoding: 8bit Content-Disposition: inline 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 ! ! ! --S2S6XJHLc6WjhrVXQIuW5YGOa-- ------------------------------------------------------------- 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 -------------------------------------------------------------