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.

nndata2sim

Convert neural network data to Simulink time series

Syntax

nndata2sim(x,i,q)

Description

nndata2sim(x,i,q) takes these arguments,

x

Neural network data

i

Index of signal (default = 1)

q

Index of sample (default = 1)

and returns time series q of signal i as a Simulink® time series structure.

Examples

Here random neural network data is created with two signals having 4 and 3 elements respectively, over 10 timesteps. Three such series are created.

x = nndata([4;3],3,10);

Now the second signal of the first series is converted to Simulink form.

y_2_1 = nndata2sim(x,2,1)

See Also

| |

Introduced in R2010b

Was this topic helpful?