FUNCTION REFERENCE
preparets
Prepare time-series inputs, initial states and targets.
Prepare time-series inputs, initial states and targets.
Syntax
[Xs,Xi,Ai,Ts,EWs,shift] = preparets(net,Xnf,Tnf,Tf,EW)For TDNN use preparets(net,X,T). For NAR use preparets(net,{},{},T). State cells are chronological, oldest first. Xi is inputs by maximum input delay; Ai is layers by maximum feedback layer delay.
Example
[xs,xi,ai,ts,ew,shift]=preparets(narxnet(1:2,1:2),con2seq(1:6),{},con2seq(2:7)); shiftThese are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.