登录
首页 » matlab » mini2

mini2

于 2010-10-26 发布 文件大小:1KB
0 204
下载积分: 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 个回复

  • Hungarian-algorithm
    匈牙利算法的MatLab实现,用于求解关于最大连接(MatLab implementation of the Hungarian algorithm for solving the maximum connection on)
    2011-08-18 14:45:54下载
    积分:1
  • Matlab_STCv0
    STC跟踪算法,matlab源码,可实现对框定目标的有效稳定跟踪(STC tracking algorithm, matlab source code, can achieve the goal of effective framing stable tracking)
    2014-01-22 18:18:13下载
    积分:1
  • compute
    可以计算两个数的和的matlab程序,有界面(GUI code which can compute the sum of two numbers)
    2014-08-30 21:34:24下载
    积分:1
  • chengxu
    kriging插值算法。虽然用得较少,但是很实用。(kriging interpolation algorithm. Although less used, but very practical.)
    2011-11-29 20:13:30下载
    积分:1
  • Adaline1
    Adaline Algorithm Using Matlab
    2010-12-16 02:42:57下载
    积分:1
  • FSK
    matlab 实现的一个fsk信号的调制与解调,通过simulink实现(a modulation and demodulation of the fsk.)
    2014-12-25 21:25:27下载
    积分:1
  • attractors
    Rossler, Chua and lorenz attractors in GNU Octave
    2011-12-27 14:54:19下载
    积分:1
  • MATLAB
    实现信号的采样与恢复m文件(在matlab中实现)(Signal sampling and recovery m file (in Matlab))
    2013-05-14 22:07:47下载
    积分:1
  • CTD
    RBR海洋要素数据处理(数据的自动识别截取,温盐剖面图)(RBR marine elements of data processing (automatic identification data capture, thermohaline sectional view))
    2014-10-11 03:28:25下载
    积分:1
  • SARBP
    SAR成像,后向投影算法(BP)的简单介绍及matlab实现(back projection)
    2020-08-13 18:48:27下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载