[ncl-talk] How to find the same elements in two matrixes

Lin Wang wanglin at post.iap.ac.cn
Wed Dec 17 01:59:08 MST 2014


Dear all,

Suppose:
A = (/ 1, 2, 3, 4, 5, 6, 7, 8, 9/)
B = (/ 2, 14, 7, 1/)

If don't use loop, how to find the same elements between A and B such as (/1, 2, 7/)? Thanks.

Best wishes,
Lin Wang


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141217/04f3e6be/attachment.html 


More information about the ncl-talk mailing list