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