question about predict/pe function

16 ビュー (過去 30 日間)
zhiduoshao
zhiduoshao 2016 年 12 月 13 日
I have some question about Matlab predict/pe function.The sys below in the code is a transfer function model estimated by tfest using data. When I iteratively calculate the RMSE(root mean squared error) for different k-step ahead, the RMSE for different K keeps unchanged.They all equal to the same value,which made my crazy!
#code
for K = 1:20;
err = pe(sys,data,K);
error = err.OutputData;
rmse(K) = sqrt(mean(error.^2))*100; end

回答 (0 件)

カテゴリ

Help Center および File ExchangeTransfer Function Models についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by