[Scilab-users] mean of elements corresponding element is "true"

Rafael Guerra jrafaelbguerra at hotmail.com
Sun Mar 4 11:54:46 CET 2018


"Indeed. This is basically what nanmean()  does, managing in addition cases where no components remain on a range (all "%F")."
If all components are %F then the results in Scilab 6 for both solutions are %nan, which is convenient.
(Scilab 5 requires additional attention because of division by zero errors, though)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20180304/cecbe6c4/attachment.htm>


More information about the users mailing list