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.

getsignals

Get neural network data signals

Syntax

getsignals(x,ind)

Description

getsignals(x,ind) returns the signals of neural network data x indicated by the indices ind. The neural network data may be in matrix or cell array form.

If x is a matrix, ind may only be 1, which will return x, or [] which will return an empty matrix.

If x is a cell array, the result is the ind rows of x.

Examples

This code gets signal 2 from cell array data:

x = {[1:3; 4:6] [7:9; 10:12]; [13:15] [16:18]}
y = getsignals(x,2)

Introduced in R2010b

Was this topic helpful?