-
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
-
calculater
用matlab2008a设计的一个简单的具有GUI界面的计算器(Matlab2008a design with a simple calculator with a GUI interface)
- 2009-12-09 14:23:29下载
- 积分:1
-
FT
说明: 基于傅里叶变换的去除图像纹理方法。通过去除频域高亮区域来消除纹理,保留低频信息。(Based on Fourier Transform method to remove the image texture. Highlighted region by removing the frequency domain to eliminate the texture, retain low frequency information.)
- 2010-04-19 15:57:13下载
- 积分:1
-
gaotong
用频率抽样法实现高通滤波器 频率为0-100HZ 用此程序可实现对心电信号基线漂移的消除(Use frequency sampling method achieve high-pass filter frequency of 0-100HZ with this program can be realized to eliminate ECG baseline drift)
- 2012-01-12 19:58:40下载
- 积分:1
-
K-mode
the k-modes algorithms for clustering algorithms.......
- 2014-11-26 21:58:05下载
- 积分:1
-
robot-control-matlab-simulation
一个用于机器人控制领域的matlab教程,包括自适应控制,模糊控制,神经网络控制等不同智能算法。(A field for robot control matlab tutorial, including adaptive control, fuzzy control, neural network control, such as different intelligent algorithms.)
- 2014-12-23 16:32:25下载
- 积分:1
-
zhuchenfen
主成分分析法的程序,对几个因素进行主成分分析(Principal component analysis of the program, the principal component analysis of several factors)
- 2011-11-25 12:27:00下载
- 积分:1
-
DPD_Indirect_RLS
基于RLS算法的 功放数字预失真仿真 Saleh模型 多项式(Saleh model polynomial of power amplifier digital predistortion simulation based on RLS algorithm)
- 2021-03-18 14:59:20下载
- 积分:1
-
mux1
mux one hwich is teh best knwo progerma i n the workdl and ist is the
- 2010-01-25 22:13:37下载
- 积分:1
-
DLcomput
说明: matlab编程,用于计算电力系统短路潮流,源代码提供在这里,希望供大家参考(Matlab programming used in the calculation of the power system short-circuit the trend, the source code available here, for your reference)
- 2006-04-13 15:15:05下载
- 积分:1