This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


Inverse transfer function


A = netinv(N,FP)


netinv is a transfer function. Transfer functions calculate a layer's output from its net input.

A = netinv(N,FP) takes inputs


S-by-Q matrix of net input (column) vectors


Struct of function parameters (ignored)

and returns 1/N.

info = netinv('code') returns information about this function. The following codes are supported:

netinv('name') returns the name of this function.

netinv('output',FP) returns the [min max] output range.

netinv('active',FP) returns the [min max] active input range.

netinv('fullderiv') returns 1 or 0, depending on whether dA_dN is S-by-S-by-Q or S-by-Q.

netinv('fpnames') returns the names of the function parameters.

netinv('fpdefaults') returns the default function parameters.


Here you define 10 five-element net input vectors N and calculate A.

n = rand(5,10);
a = netinv(n);

Assign this transfer function to layer i of a network.

net.layers{i}.transferFcn = 'netinv';

See Also


Introduced in R2006a

Was this topic helpful?