[Scilab-users] array constructors

Adelson Oliveira adelson.oliveira at gmail.com
Tue Oct 2 18:37:59 CEST 2018


Hi,

In scilab 6.1, I've noticed that the array

[8.9:0.2:9.9] does contain 8.9 and 9.9,

but the array,

[-5.1:0.2:5.1]

does not contain the last element 5.1!

find([-5.1:0.2:5.1] == 5.1) = []

Why is that?

Isn't it a bug?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20181002/4abc37c2/attachment.htm>


More information about the users mailing list