Pause finder

バージョン 1.0.0.0 (7.05 KB) 作成者: Jan Lubina
Analyses data for free definable pauses and returns matching indices
ダウンロード: 600
更新 2016/3/31

ライセンスの表示

[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 リリースの互換性
作成: R13
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDigital 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