-
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
-
bpskAWGN
content file describe awgn channel for coperative channel
- 2012-04-21 03:10:27下载
- 积分:1
-
2D-Heat-conduction
2 Dimensional Heat Transfer simulation (MATLAB CODE)
- 2014-10-10 01:14:40下载
- 积分:1
-
atsc1
simulink 实现atsc的发送和接收。发送为mepg2包。能够计算发送速率和比较BER。(simulink achieve atsc sending and receiving. Send to mepg2 package. Transmission rate can be calculated and compare BER.)
- 2014-11-11 15:46:51下载
- 积分:1
-
epllcode
This code implements the algorithm described in the paper:
Blind deblurring using internal patch recurrence
by Tomer Michaeli and Michal Irani
- 2014-11-24 15:28:02下载
- 积分:1
-
mycameragui
a code of pattern recognition.
- 2013-04-29 15:39:03下载
- 积分:1
-
mag_response
this programs finds the magnitude and phase response of a second order resonator or any other system
- 2013-11-09 22:43:46下载
- 积分:1
-
lab2
CSAAP lab2 bomblab自己做得(CSAAP lab2 bomblab)
- 2014-12-06 13:07:12下载
- 积分:1
-
utf-8
清浊音检测,方法为短时平均能量,自己编的matlab程序。希望有用(Qingzhuo tone detection, methods for short-term average energy, the matlab own procedures. Hope useful)
- 2008-05-19 10:37:22下载
- 积分:1
-
IndependentComponentanalysis
IndependentComponentanalysis,用法详见文件夹中的content.m,关键能运行(IndependentComponentanalysis, usage see folder content.m, the key to run)
- 2010-05-28 12:19:32下载
- 积分:1