登录
首页 » matlab » mini2

mini2

于 2010-10-26 发布 文件大小:1KB
0 150
下载积分: 1 下载次数: 4

代码说明:

  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)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • gongetidufadshuzhixingzhi
    共轭梯度法(Conjugate Gradient)是介于最速下降法与牛顿法之间的一个方法,它仅需利用一阶导数信息,但克服了最速下降法收敛慢的缺点,又避免了牛顿法需要存储和计算Hesse矩阵并求逆的缺点,共轭梯度法不仅是解决大型线性方程组最有用的方法之一,也是解大型非线性最优化最有效的算法之一。 在各种优化算法中,共轭梯度法是非常重要的一种。其优点是所需存储量小,具有步收敛性,稳定性高,而且不需要任何外来参数(Conjugate Gradient method (Conjugate Gradient) is between the steepest descent method between Newton method and a method, it only USES a derivative information, but overcome the steepest descent method slow convergence of weakness, but also avoid the Newton law needs to storage and computing Hesse inverse matrix and shortcomings, Conjugate Gradient method is not only solve linear equations with most of the large method, and also one of the most effective solution large nonlinear optimization of one of the algorithm. In all kinds of optimization algorithm, the conjugate gradient method is very important. Its advantage is the storage capacity needed, it has small step convergence, high stability, and doesn t require any exotic parameters numerical experiment, this is the modern scientific computing of the answer above problem sets)
    2012-03-26 18:48:46下载
    积分:1
  • SwarmOps-for-Matlab--Version-1.0--2010
    public guideness for swarm Ops in Matlab
    2013-12-10 16:37:51下载
    积分:1
  • PSORT20110515i
    HYBRID pso OPTIMIZATION
    2014-02-17 19:04:00下载
    积分:1
  • upload
    calculate of zernike momemt of figure. calculate of complex moment it use for extraction feature. edge detection find treshold
    2010-07-06 21:22:04下载
    积分:1
  • bpskmod
    bpsk modulation,demodulation,fft
    2011-01-15 12:35:26下载
    积分:1
  • main
    Use derivations to verify your implementation of simple equalization techniques.
    2013-02-07 00:08:39下载
    积分:1
  • wavelet
    图像频域变换源代码,只针对该应用领域内的同行用于学术研究,不能用于商业活动!!(Image Transferation original codes)
    2010-07-05 11:46:49下载
    积分:1
  • my_esprit
    ESPRIT的谱估计算法,含有自动定阶,设置相应参数即可直接运行。(ESPRIT algorithm for spectral estimation, with automatic set-order, set the corresponding parameters can be directly run.)
    2009-04-20 22:08:39下载
    积分:1
  • zrq
    潮汐调和分析关于无潮点及潮流方向与潮时的计算与分析。(Tidal wave of harmonic analysis on non-point and the trend direction and tide calculations and analysis.)
    2011-05-27 19:06:32下载
    积分:1
  • PID_Simulink
    描述了PID控制规律及控制器实现及用Simulink建立PID控制器及构建系统模型与仿真方法。(Describes the PID control law and controller implementation and the establishment of a PID controller and build the system model and simulation method using Simulink.)
    2014-08-15 17:46:12下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载