function out1 = feedforwardnet(varargin)
%FEEDFORWARDNET Feedforward neural network.
%
% Two (or more) layer feedforward networks can implement any finite
% input-output function arbitrarily well given enough hidden neurons.
%
% feedforwardnet(hiddenSizes,trainFcn) takes a 1xN vector of N hidden
% layer sizes, and a backpropagation training function, and returns
% a feed-forward neural network with N+1 layers.
%
% Input, output and output layers sizes are set to 0. These sizes will
% automatically be configured to match particular data by train. Or the
% user can manually configure inputs and outputs with configure.
%
% Defaults are used if feedforwardnet is called with fewer arguments.
% The default arguments are (10,'trainlm').
%
% Here a feed-forward network is used to s