File Exchange

image thumbnail


version 1.2.1 (3.49 KB) by Rik
find for 3D or ND


Updated 06 Jul 2020

From GitHub

View Version History

View license on GitHub

This function replicates the syntax for the built-in function 'find', but extends it to more dimensions.
It is compatible with all releases up to and including MATLAB 6.5. For that release, the built-in find function doesn't support the find(X,K) syntax or find(X,K,side), while this function does.
I have no access to even older releases, so I can't test compatibility, although I suspect this will work a few releases before 6.5.

Licence: CC by-nc-sa 4.0

Cite As

Rik (2021). findND (, GitHub. Retrieved .

Comments and Ratings (8)

Jorge Jimenez

Yuu Yamamoto

Thx a lot!


Nice job!


Pete Harding

Theodore Mamalis

Theodore Mamalis

Miro Grundei

MATLAB Release Compatibility
Created with R2020a
Compatible with R13SP2 and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!