findRuns.m
버전 1.1.0.0 (549 Bytes) 작성자:
Richard Heitz
Returns indices of n consecutive numbers (you specify the number you want)
다운로드 수: 913
업데이트 날짜:
2009/2/13
라이선스 없음
Accepts: a vector of numbers
Returns: the indices of n consecutive numbers of your specification
For instance, if you want to find the first instance of 10 consecutive 1's in a vector,
x = findRuns(vector,10,1)
Code may not be pretty, but it works and is quite fast.
인용 양식
Richard Heitz (2024). findRuns.m (https://www.mathworks.com/matlabcentral/fileexchange/22972-findruns-m), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2008b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Programming > Classes > Define Classes > Handle Classes >
Help Center 및 MATLAB Answers에서 Handle Classes에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!