How to validate nlhw model?

1 回表示 (過去 30 日間)
Ana Farhat
Ana Farhat 2018 年 8 月 30 日
コメント済み: Amal George M 2018 年 9 月 4 日
To estimate the Hammerstein-Wiener model I'm using nlhw as below: sys = nlhw(z1,Orders,InputNL,OutputNL); z1 is iddata that I'm using as training data to create sys. The question is how I can validate my model (sys)? Can I use 'sim' command? If yes, with the same data set (z1)? Or should I use new sets of data for validation? [ys,y_sd] = sim(sys,z1);
Thanks, Ana
  1 件のコメント
Amal George M
Amal George M 2018 年 9 月 4 日
Hi Ana,
In order to compare the 'iddata' with the model, ' compare ' function can be used. The syntax is
compare(z1,sys);
Here is a link to an example demonstrating this feature.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeHammerstein-Wiener Models についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by