[Scilab-users] {EXT} Re: Weird error with leastsq()

Antoine Monmayrant antoine.monmayrant at laas.fr
Thu Aug 27 21:49:45 CEST 2020


On 27/08/2020 17:55, Dang Ngoc Chan, Christophe wrote:
> Hello,
>
>> De : Antoine Monmayrant
>> Envoyé : jeudi 27 août 2020 17:25
>>
>>    n=real(n);
>>
>> Now it works.
> Basic.
> I thought about this and I know I tested some isreal(sellmeier(lambda)) stuff during the development but I did not thought it would happen during the regression process with some parameter values.

Well, been there, done that: if you think your function can only be fed 
cats and dogs, you can be sure that leastsq will send it giraffes and 
unicorns! :-)

Antoine

>
> Thanks a lot.
>
> 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 at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>



More information about the users mailing list