资源简介
可以直接运行,亲测可用,大家可以多多下载,第一次上传学习资料!
代码片段和文件信息
% test-script for VMD
% authors: Dominique Zosso and Konstantin Dragomiretskiy
% zosso@math.ucla.edu --- http://www.math.ucla.edu/~zosso
% Initial release 2013-12-12 (c) 2013
%
% When using this code please do cite our paper:
% -----------------------------------------------
% K. Dragomiretskiy D. Zosso Variational Mode Decomposition IEEE Trans.
% on Signal Processing (in press)
% please check here for update reference:
% http://dx.doi.org/10.1109/TSP.2013.2288675
%--------------- Preparation
clear all;
close all;
clc;
% Time Domain 0 to T
T = 1000;
fs = 1/T;
t = (1:T)/T;
freqs = 2*pi*(t-0.5-1/T)/(fs);
% center frequencies of components
f_1 = 2;
f_2 = 24;
f_3 = 288;
% modes
v_1 = (cos(2*pi*f_1*t));
v_2 = 1/4*(cos(2*pi*f_2*t));
v_3 = 1/16*(cos(2*pi*f_3*t));
% for visualization purposes
fsub = {};
wsub = {};
fsub{1} = v_1;
fsub{2} = v_2;
fsub{3} = v_3;
wsub{1} = 2*pi*f_1;
wsub{2} = 2*pi*f_2;
wsub{3} = 2*pi*f_3;
% composite signal including noise
f = v_1 + v_2 + v_3 + 0.1*randn(size(v_1));
f_hat = fftshift((fft(f)));
% some sample parameters for VMD
alpha = 2000; % moderate bandwidth constraint
tau = 0; % noise-tolerance (no strict fidelity enforcement)
K = 3; % 3 modes
DC = 0; % no DC part imposed
init = 1; % initialize omegas uniformly
tol = 1e-7;
%--------------- Run actual VMD code
[u u_hat omega] = VMD(f alpha tau K DC init tol);
%--------------- Visualization
% For convenience here: Order omegas increasingly and rein
- 上一篇:K最邻近分类器设计matlab
- 下一篇:道路图像分割程序
相关资源
- matlab变分模态分解VMD
- VMD分解的matlab程序
- Vmd的分解代码
- 变分模态分解的源代码
- VMD分解变分模态分解
- EMD EEMD VMD比较
- VMD 变分模态分解
- EMD_EEMD_VMD 可用于信号的EMD、EEMD、VM
- Variational Mode Decomposition 内含VMD相关
- 基于小波的VMD程序
- VMD算法程序
- VMD_2D 二维变模态分解(TWO-DIMENSIONAL
- VMD 变模式分解(Variational Mode Decompo
- vmd-verify vmd终极修改版
- VMD vmd修改版
- vmd-verify3 vmd经验模态分解
- VMD 对故障信号进行去噪
- vmd去噪MATLAB代码
评论
共有 条评论