-
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
-
123897
基于matlab彩色图像转灰度图的程序,详细请看附件。(Matlab color images based on gray level transfer process in detail see annex.)
- 2010-03-12 18:07:36下载
- 积分:1
-
MATLABpaneldataanalysiscase
说明: 利用Matlab做面板数据分析(平行数据分析)的一个实例(Use Matlab to do analysis of panel data (parallel data analysis) is an example of)
- 2008-11-30 08:55:24下载
- 积分:1
-
含风电场电力系统的可靠性评估Matlab程序
说明: 新能源并网后电力系统的可靠性评估Matlab程序(Matlab program of power system reliability evaluation after new energy grid connected)
- 2020-02-23 08:44:38下载
- 积分:1
-
pso_neteval
说明: PSO MATLAB 程序,有助于求解混合非整数规划问题(PSO MATLAB )
- 2011-03-28 09:42:30下载
- 积分:1
-
DV-hop
dv-hop算法改进的matlab仿真程序,提高了算法的覆盖率。(Improvement of DV-Hop)
- 2011-05-27 16:01:23下载
- 积分:1
-
matlab_ukf_utilities
utilities for Kalman filtering, unscented filtering, particle filtering, and miscillaneous other things. This code is stable and fast. (utilities for Kalman filtering, unscented filtering, particle filtering, miscillaneous and other things. This code is st able and fast.)
- 2006-12-08 00:58:00下载
- 积分:1
-
TE2DFDTDPML
利用matlab编写的二维fdtd,加点源,pml吸收边界,适合fdtd初学者学习研究(Prepared using matlab dimensional fdtd, plus a point source, pml absorbing boundary, suitable for beginners study fdtd)
- 2020-12-19 16:49:09下载
- 积分:1
-
divide_sqrt_algorithm_simulation
说明: 里面包含两个matlab程序,分别是对除法和对开方算法(或者是电路工作原理)的模拟。压缩包里分别有这两个算法的详细描述,主要用于学习。(It contains two matlab programs, one for divide algorithm and the other for sqrt algorithm. The .rar file also include two instruction files for the two algorithms.)
- 2010-04-19 11:58:56下载
- 积分:1
-
PTfused_plot
CW频率步进信号的时域和频率的包络波形的仿真(CW frequency step signal time domain and frequency envelope waveform simulation)
- 2013-02-01 22:41:12下载
- 积分:1