Pause finder
[pause, err] = p_finder(DATA, samplerate, plength, plevelfrom, plevelto)
example:
--------
paus = p_finder(data,samplerate,0.5,-1.8,0.4);
%lookfor pauses > 0.5sec, pause = signal level between -1.8 and 0.4
[m,n,o]=size(paus);
p_vector=[];
for m = 1:n
p_vector(end+1:end+paus(2,m,1)-paus(1,m,1)+1) = [paus(1,m,1):paus(2,m,1)]';
end
p_vector=p_vector(:);
np_vector = [1:1:length(data(:,1))]';
np_vector(p_vector)=0;
np_ind = find(np_vector~=0);
data=data(np_ind,:);
引用
Jan Lubina (2024). Pause finder (https://www.mathworks.com/matlabcentral/fileexchange/15814-pause-finder), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- Signal Processing > Signal Processing Toolbox > Digital and Analog Filters > Digital Filter Analysis >
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 | BSD |