find sequences

Finds sequences of repeated elements in array

이 제출물을 팔로우합니다

http://simulations.narod.ru/
[i1a i2a]=find_sequences(b,n)
b is 1d array
n is number
finds sequences b==n and return indexes to i1a i2a
all elements b(i1a(i):i2a(i))==n
example:
[i1a i2a]=find_sequences([1 2 2 1 1 1 2 2 2],2)
i1a = 2 7
i2a = 3 9

인용 양식

Maxim Vedenyov (2026). find sequences (https://kr.mathworks.com/matlabcentral/fileexchange/33554-find-sequences), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Numeric Types에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0