Neural Network Toolbox Previous page   Next Page
newlind

Design a linear layer

Syntax

net = newlind

net = newlind(P,T,Pi)

Description

net = newlind creates a new network with a dialog box.

newlind(P,T,Pi) takes these input arguments,

and returns a linear layer designed to output T (with minimum sum square error) given input P.

newlind(P,T,Pi) can also solve for linear networks with input delays and multiple inputs and layers by supplying input and target data in cell array form:

returns a linear network with ID input delays, Ni network inputs, Nl layers, and designed to output T (with minimum sum square error) given input P.

Examples

We would like a linear layer that outputs T given P for the following definitions.

Here we use newlind to design such a network and check its response.

We would like another linear layer that outputs the sequence T given the sequence P and two initial input delay states Pi.

We would like a linear network with two outputs Y1 and Y2 that generate sequences T1 and T2, given the sequences P1 and P2 with three initial input delay states Pi1 for input 1, and three initial delays states Pi2 for input 2.

Algorithm

newlind calculates weight W and bias B values for a linear layer from inputs P and targets T by solving this linear equation in the least squares sense:

See Also

sim, newlin


Previous page  newlin newlvq Next page

© 1994-2005 The MathWorks, Inc.