matlab关于newff
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/11/07 14:45:30
matlab关于newff
>> P=[0 1 2 3 4 5 6 7 8 9 10];
>> T=[0 1 2 3 4 3 2 1 2 3 4];
>> net=newff([0 10],[5 1],{'tansig''purelin'});
接着就出来
Error using ==> network.subsasgn
"layers{1}.transferFcn" cannot be set to non-existing function "tansig'purelin".
Error in ==> newff at 145
net.layers{i}.transferFcn = tf{i};
>> P=[0 1 2 3 4 5 6 7 8 9 10];
>> T=[0 1 2 3 4 3 2 1 2 3 4];
>> net=newff([0 10],[5 1],{'tansig''purelin'});
接着就出来
Error using ==> network.subsasgn
"layers{1}.transferFcn" cannot be set to non-existing function "tansig'purelin".
Error in ==> newff at 145
net.layers{i}.transferFcn = tf{i};
P=[0 1 2 3 4 5 6 7 8 9 10];
T=[0 1 2 3 4 3 2 1 2 3 4];
net=newff([0 10],[5 1],{'tansig','purelin'});
%你个错误是({'tansig''purelin'});中少了一个逗号
T=[0 1 2 3 4 3 2 1 2 3 4];
net=newff([0 10],[5 1],{'tansig','purelin'});
%你个错误是({'tansig''purelin'});中少了一个逗号