-
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
-
Breastcancerdataset
breast cancer dataset,是研究支持向量机,样本选择方法,核方法的一个非常重要的数据集(breast cancer dataset, is to examine the support vector machine, sample selection methods, nuclear methods of a very important data set)
- 2007-12-06 11:32:00下载
- 积分:1
-
FrequenceDetect
分别使用LS和TLS算法,计算出混合信号的频率。该频率估计算法的数学模型是基于ARMA模型。其中还包括详细的设计报告,有一定的参考价值。(LS and TLS algorithms were used to calculate the mixed-signal frequency. The mathematical model of the frequency estimation algorithm is based on ARMA models. It also includes detailed design report, a certain reference value.)
- 2011-01-05 17:22:14下载
- 积分:1
-
PEGASIS
matlab code for PEGASIS routing protocol for WSN
- 2015-02-22 20:11:04下载
- 积分:1
-
1
说明: fuchion equation for solving elasticity for fgm beam
- 2014-01-28 16:53:04下载
- 积分:1
-
readfromexcel-hanshu
matlab中读取excel表格的重要途径(an important way to read excel spreadsheet matlab)
- 2013-12-23 21:54:21下载
- 积分:1
-
Clustering_Coefficient
生物中关于复杂网络拓扑性分析中的聚类系数,使用MATLAB对矩阵进行计算(Creatures of complex network topology analysis, the clustering coefficient, using MATLAB to matrix to calculate)
- 2014-04-21 16:17:28下载
- 积分:1
-
spacetimecodingprojecMatlab
完整的空时码链路仿真多发射天线多接收天线空时分集系统的具体代码实现和误码性能评估(Complete space-time code simulation multi-link multi-receiving antennas transmitting antennas Space Time Set system specific code and error performance evaluation)
- 2007-09-18 10:32:25下载
- 积分:1
-
dxsKalman-filtering
卡尔曼滤波实例分析与仿真源代码,帮你熟悉了解卡尔曼滤波原理和编程方法(Analysis and Simulation of Kalman Filtering source code examples to help you become familiar with the Kalman filter theory and programming methods)
- 2013-12-24 15:05:43下载
- 积分:1
-
matlabjixie
matlab对机械四杆结构的仿真动画,很难找的,很有价值。(matlab mechanical simulation of four-bar structure animations, it is difficult to find, great value.)
- 2010-12-01 13:13:35下载
- 积分:1