Skip to content

Mahtab-Shabani/Neural-Network-RBF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neural-Network-RBF

Radial Basis Function (RBF) Networks are a particular type of Artificial Neural Network used for function approximation problems. In this repository implemented a simple code to show the result of RBF network.

Input data:

x = -pi/2:0.01:pi/2;

Test data:

xtest = -pi:0.1:pi;

Training

MN=30;
DF=1;
net = newrb(x,y,0,1,MN,DF);

Results:

MN=10 :

image

MN=20 :

image

Changing data:

xtest = -2*pi:0.1:2*pi;

x = -3*pi/2:0.01:3*pi/2;

image