资源简介
该算法可用于信号处理的多方面,盲源分离,特征提取,模式识别等等
代码片段和文件信息
% This demo script shows how to perform SFA on user-defined function
% spaces. The user has to overwrite the functions EXPANSION and
% XP_DIM. In this example the two functions are located in the
% subdirectory sfa_tk/demo/expansion_demo/ . Further information can be
% found on the online documentation.
% init graphics
figure; clf; set(gcf ‘Position‘ [618 173 575 727]);
% !!! The following lines installs the user-defined EXPANSION and XP_DIM
% functions defined in the expansion_demo/ subdirectory.
% You might need to change this line if you don‘t start the script from
% the demo/ directory.
addpath expansion_demo/
% create the input signal
T = 5000;
t = linspace(0 2*pi T);
x1 = -sin(t)+2*cos(11*t).^4;
x2 = cos(11*t);
x = [x1; x2]‘;
% show the input signal
clf; subplot(311); plot(x);
title(‘input signals‘);
% linear SFA won‘t be able to recover the slowest source signal sin(t)
% since it is nonlinearly mixed
fprintf(‘\nLINEAR SFA\n\n‘);
y = sfa1(x);
subplot(312); plot(y(:1));
title(‘signal exctracted by linear SFA‘);
% the user-defined expansion function contains a to-the-fourth nonlinearity
% which allows SFA to reconstruct the slowest source signal sin(t).
% if the user-defined functions are really used appropriate messages
% should have been printed on the screen.
fprintf(‘\nEXPANDED SFA\n\n‘);
y = sfa2(x);
subplot(313); plot(y(:1));
title([‘signal exctracted by nonlinear SFA in a‘ ...
‘ user-defined function space‘]);
% !!! Remove the user-defined EXPANSION and XP_DIM functions defined in
% the expansion_demo/ subdirectory. You might need to change this line
% if you don‘t start the script from the demo/ directory
rmpath expansion_demo/
相关资源
- 编程实现二维DCT变换
- 图像二值化
- 用FFT对信号进行频谱分析
- Tone-Reservation
- QGA 量子遗传算法
- 核主成分分析方法——特征提取,去
- 基于Gabor滤波器的图像纹理特征提取
- 差分形式的阻滞增长模型
- 遗传算法的M文件
- 简单二阶互联系统的非线性动力学分
- 手写数字识别-模板匹配法
- Stock_Watson_动态因子分析模型
- 果蝇优化算法优化支持向量回归程序
- 自己做的一个简单GUI扑克纸牌识别-
- 论文研究-基于优化Gabor滤波器和GMRF的
- multi output SVR
- AR过程的线性建模过程与各种功率谱估
- PCNN TOOLBOX
- plstoolbox.zip
- 中国国家基础地理信息系统GIS数据
- 粒子群微电网优化调度
- 矩阵分析-经典教材-中文版-Roger.A.Ho
- 压缩感知TwIST
- 基于最小错误率的贝叶斯手写数字分
- 最全系统辨识源代码,包括多种最小
- 导弹制导实验
- 画跟踪精确度图的程序.zip
- 重力场大地水准面及重力异常阶次误
- prtools5.2.3工具包
- 脉冲耦合神经网络工具箱PCNN-toolbox
评论
共有 条评论