[Scilab-users] Converting the result of strchr() to a boolean (scilab: to exclusive) test?

Samuel Gougeon sgougeon at free.fr
Sat Apr 2 16:41:11 CEST 2016


Le 02/04/2016 16:05, scilab.20.browseruk at xoxy.net a écrit :
> .../...
> What I think would be a better selection criteria is to consider the points in successive pairs and set the cut-off whenever either coordinate ceases to be strictly increasing.
.
Yes, i would do this as well, in that way:

i = min(find((h(2:$)-h(1:$-1))<=0))

plot(h(1:i), b(1:i))
gce().children.polyline_style = 4;




More information about the users mailing list