help-octave
[Top][All Lists]
Advanced

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

Urgent help for fsolve


From: skazmi
Subject: Urgent help for fsolve
Date: Sun, 25 Sep 2011 11:50:40 -0700 (PDT)

i am trying to optimize these two non-linear equations,

i dont know where is the bug can any one help.

global x y
function [one, two] = f (x, y)
  one = (x^-1.3)*P - 1.2*(1-y)^-3.6; 
  two = 2+3*y-x; 
  three = [one two]'
return;
endfunction 

[[x, y], fval, info] = fsolve (@f, [1; 2])


--
View this message in context: 
http://octave.1599824.n4.nabble.com/Urgent-help-for-fsolve-tp3841920p3841920.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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