资源简介
这个是由芬兰人提出的FastICA算法,我编写了一个主函数,名字叫zhuhanshu.m,打开后,可以调用其他程序,查看盲源分离的结果

代码片段和文件信息
clear all;
clc;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%注意:本程序使用的测试信号是由功能函数生成的,并且是4路%%%%%%%%%%%%%%%%
[sigmixedsig]=demosig() %调用功能函数demosig,生成了试验用的信号,得到源信号sig和混合信号mixedsig维数都为4*500
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%画出各路源信号的波形图%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
sig1=sig(1:);
sig2=sig(2:);
sig3=sig(3:);
sig4=sig(4:);
figure(‘Name‘‘(1)Source Signal‘)
icaplot(‘classic‘sig500500‘lll‘)
subplot(411)plot(sig1)ylabel(‘正弦曲线‘);
subplot(412)plot(sig2)ylabel(‘曲线‘);
subplot(413)plot(sig3)ylabel(‘锯齿状‘);
subplot(414)plot(sig4)ylabel(‘脉冲干扰‘);
s=[sig1;sig2;sig3;sig4];
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%画出混合信号的波形图%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
mixedsig1=mixedsig(1:);
mixedsig2=mixedsig(2:);
mixedsig3=mixedsig(3:);
mixedsig4=mixedsig(4:);
figure(‘Name‘‘(2)Mixed Signal‘)
subplot(411)
plot(mixedsig1)
subplot(412)
plot(mixedsig2)
subplot(413)
plot(mixedsig3)
subplot(414)
plot(mixedsig4)
mixedsig=[mixedsig1;mixedsig2;mixedsig3;mixedsig4];
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%主成分分析%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[ED]=pcamat(mixedsig) %调用功能函数pcamat得到了特征值和特征向量
warning(‘特征值并没有按照降序排列‘);
eigenvalues=flipud(sort(diag(D))) %降序排列特征值
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%计算白化矩阵%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[nvwmdwm]=whitenv(mixedsigED) %调用功能函数whitenv得到白化后的信号,白化矩阵,白化矩阵的逆矩阵
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%不动点迭代算法%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[AW]=fpica(mixedsigwmdwm); %调用功能函数fpica,用定点迭代算法的出分离矩阵W
[icasigAW]=fastica(nv) %调用功能函数fastica得到了对源信号的估计信号icasig
is1=icasig(1:);
is2=icasig(2:);
is3=icasig(3:);
is4=icasig(4:);
figure(‘Name‘‘(3)ICAsig‘) %画出用FastICA算法得出的信号,结果显示算法性能良好
subplot(411)plot(is1)
subplot(412)plot(is2)
subplot(413)plot(is3)
subplot(414)plot(is4)
xlabel(‘采样点数‘)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2358 2013-10-28 20:29 FastICA_25\aaa.m
文件 1307 2005-10-19 16:05 FastICA_25\Contents.m
文件 794 2005-10-19 16:09 FastICA_25\CVS\Entries
文件 8 2005-10-19 16:09 FastICA_25\CVS\Repository
文件 21 2005-10-19 16:09 FastICA_25\CVS\Root
文件 746 2013-10-28 18:55 FastICA_25\demosig.m
文件 402 2003-04-05 17:23 FastICA_25\dispsig.m
文件 18627 2013-10-20 20:20 FastICA_25\fastica.asv
文件 18436 2005-10-19 16:05 FastICA_25\fastica.m
文件 19214 2005-10-19 16:05 FastICA_25\fasticag.m
文件 26041 2005-06-16 15:52 FastICA_25\fpica.m
文件 13126 2004-07-27 16:09 FastICA_25\gui_adv.m
文件 7411 2003-09-08 14:28 FastICA_25\gui_advc.m
文件 19416 2003-09-10 13:33 FastICA_25\gui_cb.m
文件 2704 2003-04-05 17:23 FastICA_25\gui_cg.m
文件 14536 2005-10-19 16:05 FastICA_25\gui_help.m
文件 5129 2004-07-27 16:09 FastICA_25\gui_l.m
文件 3665 2003-09-11 15:01 FastICA_25\gui_lc.m
文件 5017 2004-07-27 16:09 FastICA_25\gui_s.m
文件 2402 2003-09-08 14:29 FastICA_25\gui_sc.m
文件 13259 2003-04-05 17:23 FastICA_25\icaplot.m
文件 12075 2003-12-15 20:24 FastICA_25\pcamat.m
文件 461 2003-04-05 17:23 FastICA_25\remmean.m
文件 160192 2013-09-30 18:18 FastICA_25\Speech4.mat
文件 2842 2003-10-12 12:04 FastICA_25\whitenv.m
文件 2320 2013-10-28 20:26 FastICA_25\zhuhanshu.m
文件 2320 2013-10-28 20:26 FastICA_25\有关FastICA算法\zhuhanshu.m
文件 18432 2013-10-30 18:47 FastICA_25\有关FastICA算法\关于FastICA大程序的解释.doc
文件 39424 2013-10-28 20:40 FastICA_25\有关FastICA算法\编写主函数后运用FastICA的运行结果.doc
目录 0 2005-10-19 16:09 FastICA_25\CVS
............此处省略5个文件信息
- 上一篇:有限元法求解常微分方程--两点边值问题
- 下一篇:安卓音乐播放器-需求分析
相关资源
- Theoretical study of the interaction between C
- LS-DYNA THEORETICAL MANUAL
- Numerical Optimization 2ed-Nocedal
- AsyncTask文件控制暂停和继续,在状态
- Navicat Premium 15汉化包.zip55438
- Wolfram Mathematica 矩阵初等变换函数(
- Reparatory Effects of Nicotine on NMDA Recepto
- Fabrication and all-optical poling characteris
- KICA的详细代码,包附高斯核,多项式
- 经典的Viterbi算法
- Studies In Vitro and In Vivo of Pharmacologica
- Research on pharmacological effects of lycorin
- HslCommunication 7.0.1 免费版本 免费使用
- Navicat Keygen Patch v5.6.0 DFoX
- 翻译的美国大学经典参考书,Roland
- MT6771T_LTE-A_Smartphone_Application_Processor
- RapidIO 2.2 Specification
- RapidIO_Rev_2.2_Specification
- Indentification of Interface Blocker to the LA
- Bandicam注册机
- bandicam 4.2.1.1454
- Navicat V11全系列注册机
- Electricity and hydrogen co-production from me
- Polarization Optics in Telecommunication
- Numerical simulation and prediction of radio f
- Investigation of the Lower Resistance Meridian
- Investigation of the Lower Resistance Meridian
- 西班牙Telefonica电信公司采用Sun数据仓
- 中文版AutoCAD_Mechanical_2010_官方教程-
- PCI Express SFF-8639 Module Specification
评论
共有 条评论