% -*- texinfo -*- % @deftypefn {Function File} {@var{net}} = newp (@var{Pr},@var{ss},@var{transFunc},@var{learnFunc}) % @code{newp} create a perceptron % % @example % Pr - R x 2 matrix of min and max values for R input elements % ss - a scalar value with the number of neurons % transFunc - a string with the transfer function % default = 'hardlim' % learnFunc - a string with the learning function % default = 'learnp' % @end example % % @example % EXAMPLE 1 % @end example % % @end deftypefn