settimesteps
(To be removed) Set neural network data timesteps
settimesteps will be removed in a future release. For more information,
see Transition Legacy Neural Network Code to dlnetwork Workflows.
For advice on updating your code, see Version History.
Syntax
settimesteps(x,i,v)
Description
settimesteps(x,i,v) takes these arguments,
x | Neural network matrix or cell array data |
i | Indices |
v | Neural network data to store into
|
and returns the original data x with the data v
stored in the timesteps indicated by the indices i.
Examples
This code sets timestep 2 of cell array data:
x = {[1:3; 4:6] [7:9; 10:12]; [13:15] [16:18]}
v = {[20:22; 23:25]; [25:27]}
y = settimesteps(x,2,v)
Version History
Introduced in R2010bSee Also
Time Series
Modeler | fitrnet (Statistics and Machine Learning Toolbox) | fitcnet (Statistics and Machine Learning Toolbox) | trainnet | trainingOptions | dlnetwork