Load data, perform smoothing with Alpha = 0.2, Gamma = 0.18
Uses MtxExpr, StatTimeSerAnalysis, Math387; procedure Example; var Data,S,b: Vector; MSE: double; begin Data.LoadFromFile('aerosol_particles.vec'); // smooth data with Alpha=0.2, Gamma=0.18 DoubleExpSmooth(Data,S,b,0.2,0.18,MSE,1); // results: MSE end;
#include "MtxExpr.hpp" #include "Math387.hpp" #include "StatTimeSerAnalysis.hpp" void __fastcall Example(); { sVector Data, S, b; double MSE; Data.LoadFromFile("aerosol_particles.vec"); // smooth data with Alpha=0.2, Gamma=0.18 DoubleExpSmooth(Data,S,b,0.2,0.18,MSE,1); // results: MSE }
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|