You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
%%
%%Purpose:
%%The purpose of this function is to search through a cell for certain
%%elements
%%
%%How it works:
%%This function works by iterating through all of the elements in a cell,
%%checking if they are what you are looking for. Once it does that it
%%returns a boolean vector containing the indecies of where the element you
%%are searching is. It then uses the function find to return the indecies
%%of where the element is.
%%
%%Inputs:
%%theCell: This is the cell you are searching through
%%element: This is the element you are trying to find
%%
%%Outputs:
%%index: This is a vector containing the indecies of where in the cell the
%%element in question lies
%%
%%Comments:
%%I was looking through the MATLAB function library and I could not find a
%%search function for a cell. So I made one.
Cite As
Alexander Wallar (2026). cellSearch (https://www.mathworks.com/matlabcentral/fileexchange/32293-cellsearch), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.1.0.0 (1.46 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
