📄 sig2ext.m
字号:
function [ext, exttime] = sig2ext(sig, dt, clsn)
% SIG2EXT - searches local extrema from time course (signal),
%
% function [ext, exttime] = sig2ext(sig, dt, clsn)
%
% SYNTAX
% sig2ext(sig)
% [ext]=sig2ext(sig)
% [ext,exttime]=sig2ext(sig)
% [ext,exttime]=sig2ext(sig, dt)
% [ext,exttime]=sig2ext(sig, dt, clsn)
%
% OUTPUT
% EXT - found extrema from signal SIG,
% EXTTIME - option, time of extremum occurrence counted from
% sampling time of DT course (in seconds).
% If no sampling time, DT = 1 is assumed.
%
% INPUT
% SIG - required, time course of loading,
% DT - option, descripion as above, scalar or vector of
% the same length as SIG,
% CLSN - option, a number of classes of SIG (division before
% search of extrema), no CLSN means no division into classes.
%
% The function caused without an output draws a course graph with
% the searched extrema.
%
%
% by Adam Nies硂ny
% ajn@po.opole.pl
error(nargchk(1,3,nargin))
% Sprawdza czy analizowany jest te
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -