10 int downSamplingFactor;
15 : downSamplingFactor(downSamplingFactor)
23 Eigen::MatrixXd
decimate(
const Eigen::MatrixXd& x)
28 Eigen::MatrixXd y1(x.rows(), x.cols());
29 Eigen::VectorXd b1(31);
30 b1 << 0.00256293, 0.0032317 , 0.00475108, 0.00727558, 0.01088579,
31 0.01557498, 0.02124304, 0.02769838, 0.03466804, 0.04181521,
32 0.04876293, 0.05512206, 0.06052093, 0.06463443, 0.06720971,
33 0.06808644, 0.06720971, 0.06463443, 0.06052093, 0.05512206,
34 0.04876293, 0.04181521, 0.03466804, 0.02769838, 0.02124304,
35 0.01557498, 0.01088579, 0.00727558, 0.00475108, 0.0032317 ,
37 Eigen::VectorXd a1(1);
41 Eigen::MatrixXd d(x.rows(), x.cols() / downSamplingFactor);
47 #endif // DECIMATOR_H_