set_wcf_a_snn.m
来自「神经网络的工具箱, 神经网络的工具箱,」· M 代码 · 共 25 行
M
25 行
function wcf_struct = set_wcf_a_snn(wcf_struct, a)%SET_WCF_A_SNN Set output variable weights of a wcf_struct.%%Syntax%% wcf_struct = set_wcf_a_snn(wcf_struct, a)%% wcf_struct - wcf_struct with wcf_snn parameters.% a - [NL x 1] matrix of output variable weights.%% (NL = #outputs)%if ~strcmp(get_costfcn_name_snn(wcf_struct), 'wcf_snn') error('Wcf_struct does not have correct cost funtion');endif ~(size(a,2) == 1) error('Size of second dimension of ''a'' must be 1');enda = a(:,1);wcf_struct.a = a;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?