-
mini2
clear all
clc
t=0:1/1000:10-1/1000
s=sin(2*pi*t)
snr=20
s_power=var(s) varience of s
linear_snr=10^(snr/10)
factor=sqrt(s_power/linear_snr)
noise=randn(1,length(s))*factor
x=s+noise Ó É SNR¼ Æ Ë ã Ë æ » úÔ ë É ù
x1=noise Ô ë É ùÔ ´ Ê ä È ë
x2=noise
w1=0 È ¨Ï µ Ê ý ³ õ Ö µ
w2=0
e=zeros(1,length(x))
y=0
u=0.05
for i=1:10000 LMSË ã ·¨
y(i)=w1*x1(i)+w2*x2(i)
e(i)=x(i)-y(i)
w1=w1+u*e(i)*x1(i)
w2=w2+u*e(i)*x2(i)
end
figure(1)
subplot(4,1,1)
- 2010-10-26 16:41:03下载
- 积分:1
-
Matlabengineeringworksonthebasisofdetailedaccounto
说明: Matlab工程应用基础详细讲解了工程上的实际问题(Matlab engineering works on the basis of detailed account of the practical problems)
- 2010-04-29 13:33:23下载
- 积分:1
-
getting-started-with-matlab7
Matlab入门指导书,英文版,高级读者也可以参考。mathwork公司权威认可(Matlab Getting Started instructions, in English, advanced readers can refer to. mathwork company recognized authority)
- 2011-05-27 17:04:41下载
- 积分:1
-
pp21
二级倒立摆系统采用极点配置的方法控制,系统达到平衡。(Double inverted pendulum control using pole placement method, the system in balance.)
- 2010-09-30 21:30:52下载
- 积分:1
-
oscilloClock
Matlab source file for analysis of graphical ECG represents the Matlab CODE for the use in the finding the peak detection of the ECG
- 2009-06-26 01:24:34下载
- 积分:1
-
200707171151093326
说明: 离散二进制小波与双通道滤波器组相关的技术文档。(Two-channel wavelet filter banks with relevant technical documentation)
- 2010-04-20 20:08:30下载
- 积分:1
-
chipKIT_Uno32_bysa
working your chipkit uno for arduino programs
- 2012-11-16 04:35:29下载
- 积分:1
-
cooperative_time
认知无线电中吞吐量和时间的关系,可以在matlab中运行(Cognitive radio throughput and time, can be run in matlab)
- 2013-05-17 11:36:02下载
- 积分:1
-
FAST_Magic21308710162008
This is the simulation of Photoshop magic wand effect of Matlab procedures for image segmentation
- 2013-12-08 00:25:53下载
- 积分:1
-
MatlabSimulink
从MatlabSimulink模型到代码实现(阿斯利康;jdjgaslkg)
- 2009-04-04 21:56:26下载
- 积分:1