Main Content

setsignals

Set neural network data signals

Syntax

setsignals(x,i,v)

Description

setsignals(x,i,v) takes these arguments,

x

Neural network matrix or cell array data

i

Indices

v

Neural network data to store into x

and returns the original data x with the data v stored in the signals indicated by the indices i.

Examples

This code sets signal 2 of cell array data:

x = {[1:3; 4:6] [7:9; 10:12]; [13:15] [16:18]}
v = {[20:22] [23:25]}
y = setsignals(x,2,v)

Version History

Introduced in R2010b