Daniel@0: function w = rbfpak(net) Daniel@0: %RBFPAK Combines all the parameters in an RBF network into one weights vector. Daniel@0: % Daniel@0: % Description Daniel@0: % W = RBFPAK(NET) takes a network data structure NET and combines the Daniel@0: % component parameter matrices into a single row vector W. Daniel@0: % Daniel@0: % See also Daniel@0: % RBFUNPAK, RBF Daniel@0: % Daniel@0: Daniel@0: % Copyright (c) Ian T Nabney (1996-2001) Daniel@0: Daniel@0: errstring = consist(net, 'rbf'); Daniel@0: if ~errstring Daniel@0: error(errstring); Daniel@0: end Daniel@0: Daniel@0: w = [net.c(:)', net.wi, net.w2(:)', net.b2];