findn
Version 1.0.0.0 (1.05 KB) by
Suresh Joel
Function similar to find for multidimensional arrays.
Very simple 4-line function that returns the indices of non-zero elements (actual dimension specific indices unlike 'find'). This is basically a find function for multidimentional arrays.
Cite As
Suresh Joel (2026). findn (https://ch.mathworks.com/matlabcentral/fileexchange/3055-findn), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R11
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Operators and Elementary Operations in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Improved speed using ind2sub
|
