[Scilab-users] need a little help

Samuel Gougeon sgougeon at free.fr
Fri Feb 15 23:22:16 CET 2019


... and even clearer, with respect to your own notations:

--> A = rand(1,1000);  // test's data
--> B = rand(1,10000);
--> [a, b] = ndgrid(A, B);
--> size(a)  // same for b
  ans  =
    1000.   10000.
--> [v, i] = min(abs(a-b), *"c"*);

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


More information about the users mailing list