Re: [Scilab-users] Fitting correlations to measured data. Write-ups of leastsq is messy ...

2020-01-31 Thread Dang Ngoc Chan, Christophe
Hello, > De : Heinz Nabielek > Envoyé : jeudi 30 janvier 2020 23:25 > > First: linear least-squares fitting: with measurement data x=[2 7 12]'; y=[2 > 4.5 > 6.5]'; it is easy, to fit a straight line and plot it: > M=[ones(x) x]; a=M\y; plot2d(x,M*a); plot(x,y,'r.'); > [...] > In my case, I

[Scilab-users] Fitting correlations to measured data. Write-ups of leastsq is messy ...

2020-01-30 Thread Heinz Nabielek
Scilab is a great and powerful mathematical tool that can be used for fitting correlations to measured data. For me, the help functions and literature write-ups for least-squares fitting in Scilab were tedious and I found them difficult to follow. At an elementary level, I have sorted out my