-
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
-
pingyichuli
图象平移的MATLAB源程序代码,请各位大虾有时间看看!多谢了(image translation of MATLAB source code, you have time to look at the tremendous! Thank you!)
- 2006-05-20 15:22:29下载
- 积分:1
-
invradonlinear
采用线性插值的反radon变换,按照原理直接编的,要求tau-p域中的p都是从正数开始的(Code in accordance with the principle of direct linear interpolation of the anti-radon transform, the tau-p domain p from positive)
- 2012-04-09 15:16:29下载
- 积分:1
-
tupian
基于matlab的潮流计算,可实现人机界面交互。显示潮流的结果(Matlab calculation based on the trend, enabling human-machine interface interaction. Shows the trend of the results)
- 2011-05-13 23:06:00下载
- 积分:1
-
csmch
functioning invovled in addintion and removal of noise
- 2011-08-06 20:29:51下载
- 积分:1
-
butter
双线性变换巴特沃斯发设计数字带通滤波器。matlab环境下(Bilinear transform hair design digital Butterworth bandpass filter)
- 2013-11-12 22:30:21下载
- 积分:1
-
UltimatePvp
ultimate co pvp.. souce c#
- 2014-01-14 19:51:28下载
- 积分:1
-
Turbo
Turbo编码 Matlab程序 以及另外一种编程方法(Turbo coding Matlab program and another programming method)
- 2013-12-12 07:36:51下载
- 积分:1
-
Matlab
用matlab语言对汽车动力经济性进行仿真(very good)
- 2010-05-14 09:22:52下载
- 积分:1
-
RLS
用matlab实现RLS滤波,最小二乘估计算法是以最小误差平方和为优化目标的。(RLS filter using matlab, least squares estimation algorithm is the smallest sum of squared errors for the optimization objectives.)
- 2013-11-25 19:52:41下载
- 积分:1