Hello,
Thanks for your advice.
I can fix the problem.
Best regards.
Fujmoto
--
View this message in context:
http://mailinglists.scilab.org/Strange-behavior-of-interpln-function-tp4032824p4032827.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at
Nabble.com.
Hello,
>x1=[-1604,-23982,-31978,-38883,-45638,-52660,-59782,-60536,-67648,-75176,-82997,-92066,-101438,-110067,-119852,-130754,-142046,-153749,-165495]
>y1=[0.01,0.04,0.05,0.06,0.07,0.08,0.09,0.091,0.1,0.11,0.12,0.13,0.14,0.15,0.16,0.17,0.18,0.19,0.2]
>yy1=interpln([x1;y1],0)
--> help interpln
I expect to get the value of yy less than 0.01 which is the most left value
of x.
But actually I get 0.0591.
When I adopt only the first 3 elements of x and y,it works rightly.
I get 0.0100075 of yy2.
Please tell me where I was wrong in the first script.
Best regards
**