图1,图2
OneDrive - xutongxin\学术研究\Work\scripts中的dataHPPC_1.mat
生成代码
>> plot(dataHPPC_1(:,1),dataHPPC_1(:,2))
>> plot(dataHPPC_1(:,1),dataHPPC_1(:,3))
数据点
OneDrive - xutongxin\学术研究\论文\hppc.xlsx
%CSO
p=[2.61439985223709e-11 1.04988591290319e-08 2.78943513561982e-12 6.55088184509744e-10 0.496287862733369];
%UKF p=[1e-5 1e-5 1e-5 1e-5 0.04];
%PSO p=[1.00000000000000e-20 1.02261919958208e-08 1.00000000000000e-20 3.43598436520766e-06 0.301895484216406];
mean(CSO_MAE(1,:))
mean(CSO_MAPE(1,:))
mean(CSO_RMSE(1,:))
mean(UKF_MAE(1,:))
mean(UKF_MAPE(1,:))
mean(UKF_RMSE(1,:))
mean(PSO_MAE(1,:))
mean(PSO_MAPE(1,:))
mean(PSO_RMSE(1,:))
t=1:100;
plot(t,UKF_MAE(1,:),t,CSO_MAE(1,:),t,PSO_MAE(1,:))
lables=["UKF","CSO-UKF","PSO-UKF"];
leg = legend(lables, 'FontSize', 10 ,...
'Location', 'northeast','Orientation','vertical','FontName', 'Times New Roman');%'NumColumns',2); 设置图例
t=1:100;
plot(t,UKF_MAPE(1,:),t,CSO_MAPE(1,:),t,PSO_MAPE(1,:))
lables=["UKF","CSO-UKF","PSO-UKF"];
leg = legend(lables, 'FontSize', 10 ,...
'Location', 'northeast','Orientation','vertical','FontName', 'Times New Roman');%'NumColumns',2); 设置图例
t=1:100;
plot(t,UKF_RMSE(1,:),t,CSO_RMSE(1,:),t,PSO_RMSE(1,:))
lables=["UKF","CSO-UKF","PSO-UKF"];
leg = legend(lables, 'FontSize', 10 ,...
'Location', 'northeast','Orientation','vertical','FontName', 'Times New Roman');%'NumColumns',2); 设置图例