-
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
-
Two-dimensional-random-number
学习采用Matlab程序产生正态分布的二维随机数 估计类均值向量和协方差矩阵的方法 类间离散度矩阵、类内离散度矩阵的计算方法(Learning using Matlab program to generate two-dimensional normal distribution random number estimated class mean vector and covariance matrix method class scatter matrix calculation method of class dispersion matrix)
- 2013-01-23 11:34:33下载
- 积分:1
-
CARS_PLS
PLS计算程序,非常经典。可自由组合装PLS计算程序,非常经典。可自由组合装(The PLS calculation procedures, very classic. Freely Combo Pack)
- 2012-09-07 14:00:44下载
- 积分:1
-
CoSaMP-and-OMP-for-sparse-recovery
压缩感知信号恢复算法OMP和CoSaMP算法,常用的算法( x = CoSaMP( A, b, k )
uses the Compressive Sampling Matched Pursuit (CoSaMP) algorithm
(see Needell and Tropp s 2008 paper http://arxiv.org/abs/0803.2392 )
to estimate the solution to the equation
b = A*x (or b = A*x+ noise )
where there is prior information that x is sparse.z)
- 2020-08-12 16:28:29下载
- 积分:1
-
相控阵雷达数字去斜仿真 wideband
相控阵雷达数字去斜仿真,发射信号和回波信号,混频滤波信号,正交解调,滤波器设计 使用带通滤波器,二次时延;两个目标(Phased array radar to ramp digital simulation, the transmitted signal and the echo signal, mixing the filtered signal, quadrature demodulation, filter design use a band-pass filter, the second delay two goals)
- 2016-07-05 12:38:56下载
- 积分:1
-
CHAPTER1
先进PID控制及其MATLAB仿真程序的第一部分(Advanced PID control and its MATLAB simulation program the first part of)
- 2007-12-26 17:40:32下载
- 积分:1
-
Matlabjichu
这是matlab编程基础课件,对初学者来说很好()
- 2008-05-02 09:18:19下载
- 积分:1
-
Cap4-Kalman-Filter-(export)
what is kalman filter ?
- 2014-09-30 06:37:17下载
- 积分:1
-
MATLAB-code-of-OFDMA-power-allocation
说明: ofdma功率分配经典文献 "A Low Complexity Algorithm for Proportional Resource Allocation in OFDMA Systems"的相应MATLAB代码(MATLAB code for the corresponding OFDMA power allocation classic literature "A Low Complexity Algorithm for Proportional Resource Allocation in OFDMA Systems" )
- 2010-04-21 19:29:14下载
- 积分:1
-
testcon
一个数学模型的优化
function testcon()
%% 设置初始值,上下限;
x0=[18 13 11]
lb=[3 0.1 7]
ub=[25 1 25]
%% 调用优化求解函数(testcon)
(Optimization of a mathematical model function testcon () set the initial value, the upper and lower limits x0 = [18 13 11] lb = [3 0.1 7] ub = [25 1 25] Call for Function Optimization (testcon))
- 2007-10-18 10:08:29下载
- 积分:1