Convert neural network data to Simulink time series
nndata2sim(x,i,q) takes these arguments,
Neural network data
Index of signal (default = 1)
Index of sample (default = 1)
and returns time series
q of signal
i as a
Simulink® time series structure.
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)
Introduced in R2010b