findintercept(Yin,v​arargin)

버전 3.0.0.0 (14.6 KB) 작성자: Ben Oeveren
Detects intercept at certain threshold with the input signal based on the given requirements.
다운로드 수: 192
업데이트 날짜: 2016/3/19

라이선스 보기

% [up,down] = findintercept(Yin), detects the intercept with signal Yin
% Options: 'Threshold','MinGradient','InterceptWidthRange',...
% 'MinInterceptDistance','MinInterceptAvarage','MinPeakHeight'
% followed by a number and Method: 'Linear','Nearest'
%
% 'Threshold': Gives the intercept with Yin
% 'MinSlope': The slope calculated from the first neighbour peak to
% neighbour valley. Supports both single value and range.
% 'InterceptWidthRange': Minimal and maximal width between intercepting points.
% Supports both single value and range. Starts with first up or down. To
% force a start use 'StartPair'.
% 'MinInterceptDistance': Distance between intercept points of either downward
% or upward intercepts.
% 'MinInterceptAvarage': Avarage over points above or under the intercept.
% Supports both single value and two values for averages above and below threshold.
% 'StartPair': 0,'Up','Down','First'_ forces starting with an
% upward or downward slope. By default it will start without any
% pre-settings (0);
% 'NIntercepts': specifies the maximum number of intercepts
%
%
% Optional output:
% no output = figure with results
% varargout{1} = Av; %Average between intercept points
% varargout{2} = slope; %Slope of intercepting point
% varargout{3} = x; %x after interpolation
% varargout{4} = Yin; %Y after interpolation
%
% Ben van Oeveren, 19-03-2016: added startPair: 0 as default

인용 양식

Ben Oeveren (2024). findintercept(Yin,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/53069-findintercept-yin-varargin), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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

% Ben van Oeveren, 19-03-2016: added startPair: 0 as default

2.0.0.0

% update 5-10-2015: added peakSum to output, added threshold arrays

1.0.0.0

Solved some issues