bridgeIdGaps(OnOffI​ds, MaxGapSize, varargin)

버전 1.2.0.0 (4.15 KB) 작성자: David J. Mack
Merge consecutive segments within a given gap.
다운로드 수: 25
업데이트 날짜: 2017/1/3

라이선스 보기

This is a utility function to merge segments given by on- and offset ids which occur within a given gap. For example, the on-off ids
[4 5; 8 10; 14 20]
will be merged to
[4 10; 14 20]
with a gap size of 3 samples.
This function is part of a set of functions to convert between logical and number indexing in arrays:
GETONOFFIDS: www.mathworks.com/matlabcentral/fileexchange/58983
ONOFF2LOGICAL: www.mathworks.com/matlabcentral/fileexchange/58984
BRIDGEIDGAPS: www.mathworks.com/matlabcentral/fileexchange/58985

인용 양식

David J. Mack (2024). bridgeIdGaps(OnOffIds, MaxGapSize, varargin) (https://www.mathworks.com/matlabcentral/fileexchange/58985-bridgeidgaps-onoffids-maxgapsize-varargin), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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

[MOD] Vectorized the WHILE-loop. Now very fast.
[MOD] 'IsOn' is now only updated if it is also requested as output.

1.1.0.0

Fixed the input argument check, which was changed for release.

1.0.0.0

Added links.