-
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
-
Ma_Lin_Zhang_Mobile_text_recognition_and_translat
Mobile Camera-based Text Recognition and Translation
- 2011-09-20 18:09:17下载
- 积分:1
-
7
说明: little matlab script but still no error
- 2014-10-13 22:00:17下载
- 积分:1
-
Genetic-algorithm
matlab遗传算法程序,可用于最优化问题求解,遗传算法功能非常强大(Matlab genetic algorithm procedure, can be used to solve the optimization problem, genetic algorithm is very powerful)
- 2013-11-08 19:18:52下载
- 积分:1
-
Xie
在Matlab中画一个给定参数的T分布的图像。(plot a figure of a data for T distribution.)
- 2009-10-06 08:54:44下载
- 积分:1
-
fuzzyDTC
Direct torque control using fuzzy logic controller
- 2013-07-21 20:21:38下载
- 积分:1
-
msk
GSMK的仿真高斯最小频移键控GMSK信号同相分量波形 (Gaussian Minimum Shift Keying)
- 2010-06-04 07:47:39下载
- 积分:1
-
Elevator
elevator contoller to control the movement of lift
- 2013-08-21 17:08:20下载
- 积分:1
-
Software-Defined-Radio-matlab
软件无线电——matlab,主要介绍软件无线电中一些MATLAB仿真(Software-defined radio- matlab, introduces some of the MATLAB simulation software-defined radio)
- 2009-09-11 23:21:12下载
- 积分:1
-
MR.pdf
说明: script for the robot control
- 2020-06-24 12:20:02下载
- 积分:1