This is a very basic simple Multi-Layer perceptron built from scratch that can distinguish between 2 classes of points. You can place the points wherever you wish and start the training. The MLP should eventually learn to distinguish between the 2 classes.
Lyes Demri (2023). Simple Multi-Layer Perceptron example (https://www.mathworks.com/matlabcentral/fileexchange/118105-simple-multi-layer-perceptron-example), MATLAB Central File Exchange. 取得済み .