Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

netinv

Inverse transfer function

Syntax

A = netinv(N,FP)

Description

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

A = netinv(N,FP) takes inputs

N

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

FP

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.

Examples

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?