登录
首页 » matlab » shenjingwangluo

shenjingwangluo

于 2011-05-21 发布 文件大小:1KB
0 125
下载积分: 1 下载次数: 9

代码说明:

  T=[1 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 1] 输入向量的最大值和最小值 threshold=[0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1] net=newff(threshold,[31 3],{ tansig , logsig }, trainlm ) 训练次数为1000,训练目标为0.01,学习速率为0.1 net.trainParam.epochs=1000 net.trainParam.goal=0.01 LP.lr=0.1 net = train(net,P,T) 测试数据,和训练数据不一致 P_test=[0.2101 0.0950 0.1298 0.1359 0.2601 0.1001 0.0753 0.0890 0.0389 0.1451 0.0128 0.1590 0.2452 0.0512 0.1319 0.2593 0.1800 0.0711 0.2801 0.1501 0.1298 0.1001 0.1891 0.2531 0.0875 0.0058 0.1803 0.0992 0.0802 0.1002 (T = [1 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 1] ' of the maximum and minimum input vector threshold = [0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1] net = newff (threshold, [31 3], {' tansig' , ' logsig' }, ' trainlm' ) training times for the 1000 target of 0.01 training, learning rate of 0.1 net.trainParam.epochs = 1000 net. trainParam.goal = 0.01 LP.lr = 0.1 net = train (net, P, T) test data, and training data inconsistencies P_test = [0.2101 0.0950 0.1298 0.1359 0.2601 0.1001 0.0753 0.0890 0.0389 0.1451 0.0128 0.1590 0.2452 0.0512 0.1319 0.2593 0.1800 0.0711 0.2801 0.1501 0.1298 0.1001 0.1891 0.2531 0.0875 0.0058 0.1803 0.0992 0.0802 0.1002 )

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

发表评论

0 个回复

  • pinpu
    可以用此代码信号实现频谱仿真,希望对大家有用(You can use this code to achieve spectrum signal simulation, we hope to be useful)
    2013-08-29 21:48:46下载
    积分:1
  • byumav
    国外一模型无人机仿真程序,适合初学者研究。(A foreign model UAV simulation program)
    2021-03-01 22:39:34下载
    积分:1
  • swarm
    PLC control using PLC
    2010-01-30 19:04:19下载
    积分:1
  • Desktop
    MATLAB中的柱状图颜色替换为网格或者斜线等的调用函数源代码,易于区分(MATLAB histogram of color is replaced by the calling function of grid or slash source code, easy to distinguish)
    2015-05-20 22:28:17下载
    积分:1
  • testdongli
    mtalab中最好 理解的文章 最好是新手必看的!(mtalab the best understanding of the article preferably新手必看!)
    2008-05-12 10:10:50下载
    积分:1
  • Kalman_Filtering_-_Theory_and_Practice_using_MATLA
    Kalman Filtering- Theory and Practice Using MATLAB 2008年第三版的随书源码(Kalman Filtering-Theory and Practice Using MATLAB the third edition CD)
    2009-05-16 11:09:22下载
    积分:1
  • 1
    根据教科书上已经给出的简单的数学算式,运用matlab编写出简单的代码,计算出结果(According to the textbook has been given a simple mathematical formula, using matlab write simple code to calculate the results)
    2013-09-14 18:56:53下载
    积分:1
  • xiaoboshenjngwangluo
    小波神经网络,是一种很好的小波网络代码。(The wavelet neural network, the the wavelet network code is a good.)
    2013-04-14 19:16:04下载
    积分:1
  • 67506272integrated_navigation_systems
    《GNSS惯性导航组合第3版》随书光盘,包括Matlab各章节例程和数据(Integrated GNSS inertial navigation assembly 3rd edition portable CD - ROM)
    2017-12-18 22:47:47下载
    积分:1
  • matlab
    说明:  matlab功能宝典,绝对经典,里面有十八个压缩文件,好好使用(A book about Matlab)
    2009-08-12 14:13:19下载
    积分:1
  • 696518资源总数
  • 105651会员总数
  • 15今日下载