B
Bob Schultz
I have used canned FFT Instruments for years, usually to look for
known frequencies and a few harmonics, which makes the job easier.
Now I anticipate an application for the Fourier tool in Excel.
I looked at search results from this group and its sub groups, and
picked out this example.
The "input time" series:
7.3
4
5
5
4
5
6.5
5
4
5
4
4
4
4
5
6
Returned a reply (from Dana) of absolute values:
4.8875
0.286260483
0.126397985
0.195660461
0.154166667
0.231847721
0.110946058
0.165927123
0.443882023
0.10145626
0.108473983
0.251175644
0.179166667
Which look reasonable, DC near the average amplitude, then mostly
noise.
When I run the data set, Excel returns much bigger values:
77.8000
4.0994
6.1274
3.7501
2.3324
5.7044
2.1760
3.0251
1.8000
3.0251
2.1760
5.7044
2.3324
I read somewhere the data needs to be scaled for number of samples,
time intervals, or something, so I looked at the ratio of my results
to the example:
15.918
14.320
48.477
19.166
15.129
24.604
19.613
18.232
4.055
29.817
20.060
22.711
13.018
Certainly not a constant scaling factor!
I wonder what I am missing? I tried some square waves, sine waves,
and sums of sinewaves with amplitudes <= "1". I even created a
"control" panel with entries in seconds, Hz, "volts", etc. to generate
data. The frequencies and harmonics resolve about as expected, but
the amplitudes are way big, exactly 32 for a "zero leakage" result
from a 64 point input 1 second sample of 14 Hz, 1 V, AND 18 Hz 0.5 V.
Thanks Dana for your contributions to the groups
Bob Schultz
known frequencies and a few harmonics, which makes the job easier.
Now I anticipate an application for the Fourier tool in Excel.
I looked at search results from this group and its sub groups, and
picked out this example.
The "input time" series:
7.3
4
5
5
4
5
6.5
5
4
5
4
4
4
4
5
6
Returned a reply (from Dana) of absolute values:
4.8875
0.286260483
0.126397985
0.195660461
0.154166667
0.231847721
0.110946058
0.165927123
0.443882023
0.10145626
0.108473983
0.251175644
0.179166667
Which look reasonable, DC near the average amplitude, then mostly
noise.
When I run the data set, Excel returns much bigger values:
77.8000
4.0994
6.1274
3.7501
2.3324
5.7044
2.1760
3.0251
1.8000
3.0251
2.1760
5.7044
2.3324
I read somewhere the data needs to be scaled for number of samples,
time intervals, or something, so I looked at the ratio of my results
to the example:
15.918
14.320
48.477
19.166
15.129
24.604
19.613
18.232
4.055
29.817
20.060
22.711
13.018
Certainly not a constant scaling factor!
I wonder what I am missing? I tried some square waves, sine waves,
and sums of sinewaves with amplitudes <= "1". I even created a
"control" panel with entries in seconds, Hz, "volts", etc. to generate
data. The frequencies and harmonics resolve about as expected, but
the amplitudes are way big, exactly 32 for a "zero leakage" result
from a 64 point input 1 second sample of 14 Hz, 1 V, AND 18 Hz 0.5 V.
Thanks Dana for your contributions to the groups
Bob Schultz