⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smooth_mat.m

📁 The tca package is a Matlab program that implements the tree-dependent component analysis (TCA) alg
💻 M
字号:
function [periodo,DF]=smooth_mat(periodo,smoothingtype,rsmooth);

m=size(periodo,1);
T=size(periodo,3);
[Wfft,DF]=generate_smoothingwin(T,smoothingtype,rsmooth);


% smoothes
for i=1:m
    for j=1:i
        %   smoothedperiodo(i,j,:)=reshape(ifft(fft(W).*fft(squeeze(periodo(i,j,:)).')),1,1,T);  
        periodo(i,j,:)=reshape(ifft(Wfft.*fft(squeeze(periodo(i,j,:)).')),1,1,T)/2/pi;  
        if j<i
        periodo(j,i,:)=conj(periodo(i,j,:));
        end
    end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -