登录
首页 » matlab » mini2

mini2

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

  • KFILTER
    一个kalman滤波器的实现例子 matlab语言实现(one example to implement kalman filter using matlab)
    2009-07-10 17:40:46下载
    积分:1
  • ml_stc_windows_vc_2008_v1.0
    C++ AND MATLAB CODE FOR STEGANOGRAPHY, developed by a third party, Please check it by yourself while you use it
    2011-04-27 23:48:34下载
    积分:1
  • mp
    说明:  可压缩传感,随机投影,稀疏性,非相干,图像重建(Compressible sensing, random projection, sparse, non-coherent, image reconstruction)
    2015-01-13 22:12:50下载
    积分:1
  • bankqueue
    基于排队论实现银行业务窗口平均排队长度、平均等待时间的计算。(Queuing theory-based banking window average queue length, average wait time calculation.)
    2012-11-03 11:07:56下载
    积分:1
  • DigiTrans_qpsk_ray1
    qpsk 的调制模式的模拟 分别在AWGN和rayleigh 两种情况下的ber 性能(qpsk modulation mode simulation of the ber performance in AWGN and rayleigh two kinds of circumstances)
    2012-08-01 22:03:28下载
    积分:1
  • PSO-Code1
    TSp problem by matlab code
    2011-10-09 15:55:33下载
    积分:1
  • FLD_based-Face-Recognition-System_v2
    fld based fece recognition
    2012-01-05 11:06:34下载
    积分:1
  • TSP-GA
    遗传算法解决TSP问题,给定n个城市和城市之间的距离,寻找一条遍历所有城市且每一个城市只被访问一次的路径。(Solving TSP problem by genetic algorithm,Given the distance between n cities, find a path that traverses all cities and each city is visited only once.)
    2018-10-23 16:31:29下载
    积分:1
  • job-shop-with-changed-matrix
    一个车间调度的程序,其独特之处在于可以任意输入测试矩阵进行测试。(A shop scheduling program, its unique in the input test matrix can be arbitrary test.)
    2011-12-13 21:56:03下载
    积分:1
  • DAVAR
    计算Allan方差,并求出与Allan方差相关的系数(Allan variance calculation )
    2021-05-19 06:30:02下载
    积分:1
  • 696518资源总数
  • 104226会员总数
  • 29今日下载