rowfind
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
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Operators and Elementary Operations > Logical (Boolean) Operations >
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.