[Scilab-users] How to remove 'Nan' in a matrix

Carrico, Paul paul.carrico at esterline.com
Thu Nov 8 15:54:22 CET 2018


Dear All

I'm wondering how I can, remove the 'Nan' that appears in a matrix ( with "find" I guess)?

I'm nearly sure it comes from a div with 0. and I think I know why, but I've 2 options:

-          I can easily remove it and it's not an issue and not relevant for the final result (out of scope),

-          Or I can add conditions to avoid this, but it'll drastically speed down the CPU time (I'm using vectorization)

Thanks for your support

Paul

EXPORT CONTROL :
Cet email ne contient pas de données techniques
This email does not contain technical data

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


More information about the users mailing list