-
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
-
T135_export
涡格法计算现行气动力的matlab代码,用于飞机机翼概念设计阶段的气动力评估(Tornado is a Vortex Lattice Method for linear aerodynamic wing design applications in conceptual aircraft design or in aeronautical education)
- 2013-08-24 09:54:34下载
- 积分:1
-
MIML-kNN
It is a matlab code for K Nearest Neighbor algorithm.
- 2013-04-01 22:54:40下载
- 积分:1
-
matlab
这是一本MATLAB教程的书中的源码,适合新手学习(This is a tutorial book MATLAB source code, suitable for novice study)
- 2009-03-11 19:51:08下载
- 积分:1
-
code1
ldpc encoding and decoding of different rates
- 2014-09-09 19:53:26下载
- 积分:1
-
juxing
基于有限元的矩形短边双脊波导的传输特性matlab代码包括衰减系数,单模带宽,截止波长功率容量等(Based on the short side of the rectangular finite element double-ridged waveguide transmission characteristics include attenuation coefficient matlab code, single-mode bandwidth cutoff wavelength power capacity, etc.)
- 2013-09-15 17:48:31下载
- 积分:1
-
Actual-JPEG
jpeg图像编码的matlab实现,主文件为jpegdemo(jpeg image coding matlab implementation, the master file is jpegdemo)
- 2013-12-02 22:08:40下载
- 积分:1
-
002
读写器管理(RM)标准,读写器管理标准的相关说明。(Reader Management (RM) standards, reader management standards for instructions.)
- 2010-01-09 20:28:39下载
- 积分:1
-
Untitled11
首先定义一个高斯白噪声,然后在正弦信号中添加白噪声,再对带噪声的正弦信号进行平均值滤波(First, a Gauss white noise is defined, then the white noise is added to the sinusoidal signal, and then the average filtering of the sinusoidal signal with noise is filtered)
- 2017-07-24 11:33:50下载
- 积分:1
-
newmark
newmark b 方法计算地震动反应谱(Newmark b method to shock response spectrum)
- 2012-05-23 19:45:54下载
- 积分:1