.Eigen_demo: Tiny fixes

git-svn-id: svn://ultimatepp.org/upp/trunk@13548 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
koldo 2019-08-15 17:45:04 +00:00
parent 6bb2664c59
commit 91af55d45b
2 changed files with 4 additions and 3 deletions

View file

@ -29,7 +29,7 @@ struct SerialTest {
};
CONSOLE_APP_MAIN
{
{
// http://eigen.tuxfamily.org/dox/TutorialMatrixClass.html
Cout() << "\n\nTutorial page 1 - The Matrix class";

View file

@ -18,7 +18,6 @@ void FFTTests()
int numData = 8000;
double samplingFrecuency = 14;
String csvSep = ";";
// Filling the data series
VectorXd timebuf(numData);
@ -34,7 +33,7 @@ void FFTTests()
fft.SetFlag(fft.HalfSpectrum);
fft.fwd(freqbuf, timebuf);
// Filter the FFT. Frequemcies between 1/25 and 1/35 Hz are removed
// Filter the FFT. Frequencies between 1/25 and 1/35 Hz are removed
// Original FFT is not changed for saving it later
VectorXcd freqbuf2(freqbuf.size());
{
@ -52,6 +51,8 @@ void FFTTests()
VectorXd timebuf2(numData);
fft.inv(timebuf2, freqbuf2);
String csvSep = ";";
// Saving original and filtered FFT
{
String str;