question about predict/pe function
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Transfer Function Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!