-
shenjingwangluo
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 )
- 2011-05-21 16:47:44下载
- 积分:1
-
music5
music 算法仿真 三维仿真图像,可运行(music algorithm for simulation of three-dimensional simulation images, can run)
- 2009-01-08 20:19:32下载
- 积分:1
-
DMC_contol
说明: DMC控制器设计源程序,通过matlab,有较佳的控制效果(DMC controller design source code, through matlab, a better control effect)
- 2009-08-29 16:38:50下载
- 积分:1
-
NCC_Matlab
归一化交叉相关图像匹配算法(NCC)的Matlab程序,简单易懂!(NCC code)
- 2020-11-12 21:49:45下载
- 积分:1
-
overlapsave
overlap save is very important method for calculation
- 2010-11-14 04:52:13下载
- 积分:1
-
QAM_4
MATLAB coding for 4QAM is given
- 2011-10-18 17:08:06下载
- 积分:1
-
dianfengshan
matlab动态模拟程序例子,小电风扇,是学习matlab的很好实例。(Dynamic simulation program matlab example, a small fan, is a good example to learn matlab.)
- 2013-11-03 16:04:22下载
- 积分:1
-
mohu
基于MTALAB软件中的simulink对汽车制动系统的ABS功能的建模与仿真(anlock brack systerm)
- 2013-05-20 09:15:29下载
- 积分:1
-
cyclostationary_toolbox
循环平稳工具箱,详细介绍了循环平稳工具箱的使用方法,并提供了大量的程序代码(Toolbox Cyclostationary details Cyclostationary toolbox to use and provide a large amount of program code)
- 2008-04-24 20:34:59下载
- 积分:1
-
SimpleKalman(2)
one dimension problem kalman filter, using velocity information
- 2012-05-09 19:47:54下载
- 积分:1