Simple Neural Network

A very simple 2 layer neural network

You are now following this Submission

The attached zip file contains what is needed to implement a two layer neural network. This will hopefully be the first part of a broader collection of neural network tools.

It can be used to train and simulate a NN with two layers, an input layer and an output layer. The output layer's activation function can be the simple perceptron rule, or the logistic sigmoid function.

The perceptron rules work fine, however the logistic sigmoid function seems to be off. If anyone wishes to help with debugging I would be grateful. The code doesn't do any error checking for inputs, but the enclosed PDF file give examples of usage. As time progresses and I figure out whats going on with the logistic sigmoid function I will be updating these files with more online help.

Cite As

Timothy Felty (2026). Simple Neural Network (https://www.mathworks.com/matlabcentral/fileexchange/9262-simple-neural-network), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0