资源简介
镜像延拓法消除EMD中端点效应,可更好地帮助学习理解EMD
代码片段和文件信息
%---------------------------------------------------------------------------------------
% defines new extrema points to extend the interpolations at the edges of the
% signal (mainly mirror symmetry)
% t and x are input variables;
% nbsym is the number of extremes who are about to be extented.
function [ttxx] = mirror_extend(txnbsym)
lx = length(x);
indmax=find(diff(sign(diff(x)))==-2)+1;
indmin=find(diff(sign(diff(x)))==2)+1;
if (length(indmin) + length(indmax) < 3)
error(‘not enough extrema‘)
end
% boundary conditions for interpolations :
if indmax(1) < indmin(1)
if x(1) > x(indmin(1))
sym_1=indmax(1);
lsym = t(indmax(1));
tstar=2*lsym-fliplr(t(indmax(1):indmax(min(endnbsym+1))));
x
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3199 2009-10-26 11:25 mirror_extend.m
----------- --------- ---------- ----- ----
3199 1
评论
共有 条评论