You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
227 B
13 lines
227 B
#include <math.hpp>
|
|
#include <cmath>
|
|
|
|
int main(int argc, char** argv) {
|
|
math::csignal s;
|
|
|
|
for (int i=0; i<100; ++i) {
|
|
s.push_back(std::sin(2*math::pi()*50*i/100));
|
|
}
|
|
math::csignal tfd = math::fft(s);
|
|
|
|
return 0;
|
|
}
|
|
|