<< ann_logsig_activ Computation functions ann_purelin_activ >>

NeuralNet >> Computation functions > ann_negdist

ann_negdist

Negative distance weight function

Calling Sequence

d=ann_negdist(w,x)

Parameters

w :

weight

x :

input

d :

negative distance

Description

Calculate negative distance weight function

Examples

w = [1 2 3;4 5 6];
x = [1 2; 3 4; 5 6];
d = ann_negdist(w,x)

See also

Authors


Report an issue
<< ann_logsig_activ Computation functions ann_purelin_activ >>