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: juanba romance
Subject: Re: Newbie question related with leasqr
Date: Mon, 16 Feb 2009 10:44:38 +0100



2009/2/16 Olaf Till <address@hidden>
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'
_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

OK really smooth
Thanks a lot

reply via email to

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