rowfind
Version 1.1.0.0 (2.18 KB) by
Mattias Karlsson
Finds rows of LOOKUPVALUES that are equal to rows in VALUES and return the index of the rows.
ROWINDEX = ROWFIND(VALUES, LOOKUPVALUES)
If more than one row from LOOKUPVALUES matches, it returns the index of the first matching row only. If no row matches, it returns a zero for that row.
Written in c, so the operation is fast. Type "mex rowfind.c" in matlab before use.
You might need a free compiler if it was not installed with your matlab:
http://www.mathworks.com/support/compilers/R2012b/win64.html
Cite As
Mattias Karlsson (2024). rowfind (https://www.mathworks.com/matlabcentral/fileexchange/39729-rowfind), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Operators and Elementary Operations > Logical (Boolean) Operations >
Find more on Logical (Boolean) Operations in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.