From: <nwe...@ce...> - 2003-02-25 18:22:14
|
hello, I'm trying to use the non-liear multivariable optimization functions, but they doesn't work for more than 2 variables!... octave2.1:5> bfgs('sincn', [0.1 0.1]') ans = 3.1773 3.1773 octave2.1:6> bfgs('sincn', [0.1 0.1 0.1]') error: invalid vector index = 3 error: evaluating assignment expression near line 58, column 14 error: evaluating for command near line 56, column 5 error: evaluating if command near line 55, column 3 error: called from `bs_gradient' in file `/usr/share/octave/2.1.35/site/m/octave-forge/optim/bs_gradient.m' error: called from `bfgs' in file `/usr/share/octave/2.1.35/site/m/octave-forge/optim/bfgs.m' what am I doing wrong?!?! :/ ++Nicolau; -- Nicolau Werneck <nwe...@ce...> E073 FADE 7B75 5482 5631 http://cefala.org/~nwerneck D3C4 6E9A 8EFC 0351 C15D "Experience is not what happens to a man; it is what a man does with what happens to him." -- Aldous Huxley |