Hello Heinz, > De : Heinz Nabielek > Envoyé : lundi 24 août 2020 23:59 > > I want all three straight lines to go simultaneously through one point at the > negative x-axis. > This is why I had to use a non-linear least-squares fit.
The calculation runs quite fats so it might not worth the effort of optimising it. But if ever you had more points and longer computation times, you might try to first perform a linear regression on each set of data to set the initial guess of parameters po. The non linear regression should converge faster. Regards. -- Christophe Dang Ngoc Chan Mechanical calculation engineer General This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. _______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users