Neural Network Toolbox    
randnr

Normalized row weight initialization function

Syntax

Description

randnr is a weight initialization function.

randnr(S,PR) takes two inputs,

and returns an S x R random matrix with normalized rows.

Can also be called as randnr(S,R).

Examples

A matrix of three normalized four-element rows is generated:

See Also


  randnc rands