Documentation Center |
Design exact radial basis network
net = newrbe(P,T,spread)
Radial basis networks can be used to approximate functions. newrbe very quickly designs a radial basis network with zero error on the design vectors.
net = newrbe(P,T,spread) takes two or three arguments,
P | RxQ matrix of Q R-element input vectors |
T | SxQ matrix of Q S-element target class vectors |
spread | Spread of radial basis functions (default = 1.0) |
and returns a new exact radial basis network.
The larger the spread is, the smoother the function approximation will be. Too large a spread can cause numerical problems.
Here you design a radial basis network given inputs P and targets T.
P = [1 2 3]; T = [2.0 4.1 5.9]; net = newrbe(P,T);
The network is simulated for a new input.
P = 1.5; Y = sim(net,P)