cellSearch

버전 1.1.0.0 (1.46 KB) 작성자: Alexander Wallar
This function returns the position in a cell of an element in which you are looking for.
다운로드 수: 318
업데이트 날짜: 2011/7/25

라이선스 보기

%%
%%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.

인용 양식

Alexander Wallar (2024). cellSearch (https://www.mathworks.com/matlabcentral/fileexchange/32293-cellsearch), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Search Path에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

These are the updates that Jan Simon suggested

1.0.0.0