Problem using NARX NN time series tool

2 ビュー (過去 30 日間)
RUDRAKSH
RUDRAKSH 2014 年 7 月 5 日
回答済み: Greg Heath 2014 年 7 月 6 日
Hi I have an input matrix of order nx2 my target matrix is nx1 i have taken delay d as 2; after training the NN and saving it we get a MATLAB object(net).
Now i am using the following command to predict the next value: Ypred = sim(net,xdata')';
it is showing following error ??? Error using ==> network.sim at 121 Number of inputs does not match net.numInputs.
can any one please tell me what input should i give to get the solution

採用された回答

Greg Heath
Greg Heath 2014 年 7 月 6 日
[ I N ] = size(Input)
[ O N ] = size(Output)
P.S. posting the code in question generally gets faster answers than trying to explain in words. Ideally, use both
Hope this helps.
Thank you for formally accepting my answer
Greg

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by