question about predict/pe function
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Transfer Function Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!