mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-31 07:12:39 -06:00
Eigen_demo: Added FFT demo
git-svn-id: svn://ultimatepp.org/upp/trunk@9471 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
db2d4333ef
commit
05f6639fa5
2 changed files with 2 additions and 6 deletions
|
|
@ -31,10 +31,6 @@ struct SerialTest {
|
|||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
FFTTests();
|
||||
|
||||
Cout() << "\nFin";
|
||||
getchar();
|
||||
// http://eigen.tuxfamily.org/dox/TutorialMatrixClass.html
|
||||
Cout() << "\n\nTutorial page 1 - The Matrix class";
|
||||
|
||||
|
|
@ -705,7 +701,7 @@ CONSOLE_APP_MAIN
|
|||
|
||||
FFTTests();
|
||||
|
||||
Cout() << "\nPress enter to end";
|
||||
Cout() << "\n\nPress enter to end";
|
||||
ReadStdIn();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ using namespace Eigen;
|
|||
|
||||
void FFTTests()
|
||||
{
|
||||
Cout() << "\n\nFFT sample\nGets the FFT of equation"
|
||||
Cout() << "\nFFT sample\nGets the FFT of equation"
|
||||
"\n f(t) = 2*sin(2*PI*t/50 - PI/3) + 5*sin(2*PI*t/30 - PI/2) + 30*sin(2*PI*t/10 - PI/5)"
|
||||
"\nsampled with a frequency of 14 samples/second";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue