question about predict/pe function

조회 수: 2 (최근 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 CenterFile Exchange에서 Transfer Function Models에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by