error in using preparets for timedelay network

6 ビュー (過去 30 日間)
swathi
swathi 2014 年 5 月 10 日
回答済み: Abu Muaadh AlDrWiy 2017 年 5 月 29 日
Hi I am using timedelay network and when i use preparets on input dataset iam getting the below error Index exceeds matrix dimensions.
Error in preparets (line 293) xi = xx(:,FBS+((1-net.numInputDelays):0));
Error in old (line 5) [inputs,inputStates,layerStates,targets] = preparets(net,inputs,targets);
please help me in solving this.
regards
  1 件のコメント
Greg Heath
Greg Heath 2017 年 4 月 11 日
Insufficiemt info. Post the code.
Greg

サインインしてコメントする。

回答 (2 件)

Varun  Khattar
Varun Khattar 2017 年 4 月 11 日
This is a MATLAB syntax error. You can use the num2cell command to convert the data from DOUBLE to CELL and then try running the preparets command.

Abu Muaadh AlDrWiy
Abu Muaadh AlDrWiy 2017 年 5 月 29 日
This was my code: X = input; 4x99 cell T = target; 1x99 cell net = configure(net,x,t); net = timedelaynet(1:2,20); [Xs,Xi,Ai,Ts] = preparets(net,X,T); net = train(net,Xs,Ts); view(net) Y = net(Xs,Xi,Ai);
I am having "error using preparet"
Thanks

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by