even more stuff

This commit is contained in:
AlexandreRouma
2022-06-15 16:08:54 +02:00
parent 343ec6ca1c
commit d1318d3a0f
156 changed files with 24826 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#pragma once
#include "cosine.h"
namespace dsp::window {
inline double nuttall(double n, double N) {
const double coefs[] = { 0.355768, 0.487396, 0.144232, 0.012604 };
return cosine(n, N, coefs, sizeof(coefs) / sizeof(double));
}
}