%%% GLOBAL VARIABLES FOR YOU TO FIDDLE WITH %%%%% %%% ASSUMES numcases AND inputstandev HAVE BEEN SET %%%% %%% ASSUMES makeallvecs HAS BEEN CALLED %%%% tiny=exp(-100); inputstandev=4; prior=ones(9^4,1)/(9^4); %%a uniform prior %%% now generate some random inputs with gaussian distributions %%% data=inputstandev*randn(numcases,2); %%there are 2 inputs to the net. targets = .001 + .998*(rand(1,numcases)