登录
首页 » matlab » shenjingwangluo

shenjingwangluo

于 2011-05-21 发布 文件大小:1KB
0 133
下载积分: 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 个回复

  • ofdm
    说明:  真对无线通信中的正交频分复用的matlab仿真源代码。(True for wireless communications in orthogonal frequency division multiplexing matlab simulation source code.)
    2009-09-02 09:07:22下载
    积分:1
  • kalmanshu
    卡尔曼滤波算法的MATLAB源码程序,及其应用(Kalman filtering algorithm MATLAB source programs, and its application)
    2007-06-18 08:25:14下载
    积分:1
  • Problem3_20.m
    Chaotic Pendulum, Shows entrance and exit of Chaos
    2013-04-12 20:38:37下载
    积分:1
  • matlab-mingling-
    matlab命令代码大全 附所有的系统函数 祝你成功 哈哈哈(matlab Code Complete)
    2013-12-10 19:31:33下载
    积分:1
  • -multi-beam-
    菲涅尔区聚焦多波束天线空间谱估计性能分析(Fresnel zone focusing spectrum estimation performance of multi-beam antenna spatial analysis)
    2013-12-26 12:41:37下载
    积分:1
  • SURE
    applies soft-threshold t to all elements of x and computes SURE
    2007-08-21 09:53:19下载
    积分:1
  • image_compress
    本程序利用奇异值分解对3通道彩色图像进行压缩分解,具体步骤如下: 压缩过程: 1. 选取子图像大小K值,把图像分解成M×M个子图像,IMG(s),s=1,2,…, M2,其中M=N/K,原始图像IMG大小为N×N。 2. 计算这M2个子图像的平均值average,对每幅子图像减去均值图像得到新图像。 3. 计算相关矩阵R,其元素定义为 。 4. 计算R的特征值与特征向量,计算每幅子图像与最大特征向量的内积,便得到编码,即压缩后的图像。 (This procedure using singular value decomposition of 3-channel color image compression decomposition, concrete steps are as follows: compression process: 1. Select the sub-image size K value, the image is decomposed into M × M sub-image, IMG (s), s = 1, 2, ..., M2, in which M = N/K, the original image IMG size N × N. 2. M2 calculate the average of sub-image average, for each sub-image minus the new images mean images. 3. Calculation of correlation matrix R, defined as its elements. 4. Calculation of the characteristics of R value and eigenvector calculated each sub-image with the largest eigenvector of the inner product, they will have to code, that is, the compressed images.)
    2008-01-03 23:00:33下载
    积分:1
  • m_sequence
    基于MATLAB的m序列的产生及相关特性仿真(Based on the MATLAB m sequences and related characteristic simulation )
    2012-05-07 19:31:23下载
    积分:1
  • polardb
    This is about the code of polardb function to plot in polar coordinates
    2011-08-06 18:48:53下载
    积分:1
  • statistical-identification-toolbox
    函数种类全面的matlab数据统计识别工具箱(Matlab data function type of comprehensive statistical identification toolbox)
    2012-07-31 21:25:33下载
    积分:1
  • 696518资源总数
  • 106010会员总数
  • 4今日下载