On 18 November 2011 16:43, Ben Abbott
<address@hidden> wrote:
On Nov 18, 2011, at 9:54 AM, Preeti Gaikwad wrote:
> now to solve this problem and to get best fit I want to remove some points from x and y like from x i want to remove bad points
> 1.44 1.64 1.71 1.84 1.87 1.95 2.17
>
> total 7 points and same the colum from y
> then u see I am getting this error......thanks a lot for ur help and work
Ok. I see the error now. I'm not familiar with the leasqr.m code, but from what I infer it looks like a bug.
http://octave.sourceforge.net/bugs.html
I've attached an archive with all the files needed to reproduce the error with run.
Ben