|
From: Hans-Bernhard B. <HBB...@t-...> - 2019-06-18 18:46:05
|
Am 18.06.2019 um 18:53 schrieb Patrick Dupre:
> Hello,
>
> Can I do this:
> fit a*(x-x0) $DATA u (x=$1):($2*sin(theta)+$3*cos(theta)) via x0,a,theta
^^^^
That assignment operation makes no sense at all.
And no, you can't do that. The parameters have to influence the
_function_, not the data. You really wouldn't want to re-read the
entire dataset on every iteration of 'fit', just to update the effect of
parameters on the data.
|