Main Content

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

ploterrcorr

誤差時系列の自己相関のプロット

構文

ploterrcorr(error)
ploterrcorr(errors,'outputIndex',outIdx)

説明

ploterrcorr(error) は、誤差時系列を取り、さまざまなラグについて誤差の自己相関をプロットします。

ploterrcorr(errors,'outputIndex',outIdx) は、名前と値のペアのオプション プロパティを使用して、どの出力誤差の自己相関をプロットするかを定義します。既定は 1 です。

誤差の自己相関のプロット

ここでは、NARX ネットワークを使用して時系列の問題を解きます。

[X,T] = simplenarx_dataset;
net = narxnet(1:2,20);
[Xs,Xi,Ai,Ts] = preparets(net,X,{},T);
net = train(net,Xs,Ts,Xi,Ai);

Figure Neural Network Training (29-Aug-2023 21:17:04) contains an object of type uigridlayout.

Y = net(Xs,Xi,Ai);
E = gsubtract(Ts,Y);
ploterrcorr(E)

Figure Error Autocorrelation (ploterrcorr) contains an axes object. The axes object with title Autocorrelation of Error 1, xlabel Lag, ylabel Correlation contains 4 objects of type bar, line. These objects represent Correlations, Zero Correlation, Confidence Limit.

バージョン履歴

R2010b で導入