help-octave
[Top][All Lists]
Advanced

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

Re: Newbie question related with leasqr


From: Olaf Till
Subject: Re: Newbie question related with leasqr
Date: Mon, 16 Feb 2009 09:19:43 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Sun, Feb 15, 2009 at 07:44:03PM +0100, juanba romance wrote:
>   func_engine = inline( "par(1) + ( par(2) / ( 1 + ( par(3) * par(4).^( -
> par(5) * x ) ) ) )", "x", "par");
Replace "/" with "./", otherewhise "func_engine" won't probably do
what you want, and also it will return a line-vector (instead of a
column vector), which probably causes the following error.

Olaf

> error: operator -: nonconformant arguments (op1 is 7x1, op2 is 1x7)
> error: evaluating binary operator `-' near line 183, column 9
> error: evaluating binary operator `.*' near line 183, column 5
> error: evaluating assignment expression near line 183, column 2
> error: called from `leasqr' in file
> `/usr/share/octave/packages/optim-1.0.4/leasqr.m'
> error: called from `analyzer' in file
> `/home/umov/suinsa-svn/tomograph-analyzer/analyzer.m'


reply via email to

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