-
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
-
LMSandRLScompare
自适应系数的过渡过程比较与分析(基于LMS和RLS算法比较)。(adaptive coefficient of the transition process comparison and analysis (based on the LMS and RLS algorithm).)
- 2007-03-02 22:23:25下载
- 积分:1
-
dipole_example_no
对电磁波入射的源为偶极子进行仿真,可以z作为其他电磁仿真问题中的源的设置子函数用(of the incident electromagnetic wave dipole source for simulation, z#$#!264699#!#$ooutin2.rar!#$#VB and Distributed Control CD-ROM source code (digital input and output- Correction)
- 2007-04-10 19:00:13下载
- 积分:1
-
softbit-BPSK-QPSK-PSK8-QAM16-QAM64
This matlab code describes soft demapper (soft bit) for different modulation types: BPSK, QPSK, PSK 8, QAM 16, QAM 64, which are considered for turbo encoding/decoding. And simulation results are also presented.
- 2021-02-05 14:59:57下载
- 积分:1
-
LCS
最长公共子序列的个人实验,输入两个不同的字符序列(要求必须是字母),将输出这两个字符序列的最长公共子序列。(Individual experiments longest common subsequence, enter two different sequences of characters (letters must be required), the output of the longest common subsequence of the two-character sequence.)
- 2014-01-11 23:55:57下载
- 积分:1
-
Fusion
多元测试信息融合课程的编程作业,利用DS理论进行数据融合,有相关的例题(Multivariate testing information fusion programming assignments courses use DS theory for data fusion, there are relevant examples)
- 2014-01-12 10:31:24下载
- 积分:1
-
myspecgram
说明: 语音的语谱图绘制,MATLAB实现,可调参数(Speech Spectrogram rendering, MATLAB implementation of adjustable parameters)
- 2011-03-20 10:55:56下载
- 积分:1
-
14db3585364e
希尔伯特黄变换matlab小程序,一种适用于分析非平稳非线性信号的时频分析方法。(Hilbert-Huang Transform matlab code. It applies to seismic data.)
- 2013-12-04 10:28:05下载
- 积分:1
-
gammatone
人耳滤波器
Gammatone带通滤波器(Gammatone filter)
- 2014-05-12 21:55:00下载
- 积分:1
-
fingfou_V2.1
线性调频脉冲压缩的Matlab程序,脉冲响应的相关分析算法并检验,计算一维光子晶体的透射特性和反射特性。( LFM pulse compression of the Matlab program, Related impulse response analysis algorithm and inspection, Calculated transmission characteristics and reflection characteristics of the one-dimensional photonic crystals.)
- 2016-12-30 23:28:29下载
- 积分:1