Multi-Step Prediction using neural networks (ntstool)

May I know how can i change the following: Ai2 = mat2cell([zeros(10,2); Ai2],[10 1],ones(1,2));
if my delays are 4 and hidden layers are 10. My input data is 9X96 and target is 1X96
Thank You

1 Comment

Ai2 = mat2cell([zeros(H,d); Ai2],[H 1],ones(1,d));
H=10, d =4;

Sign in to comment.

 Accepted Answer

You have Ai2 on both sides of the equation.
Therefore, you will get an error when Ai2 is not defined previously.
Why don't you just create the matrix version ai2. Then
Ai2 = mat2cell(ai2)
or
Ai2 = {ai2}
Hope this helps.
Greg

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

WT
on 1 Mar 2015

Commented:

on 29 Sep 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!