09-09-2016 12:48 AM
Hi,
I use the AmplitudePhaseSpectrum() for calc a signal response, but I always missing the highest "FFT" value. If I use the FFT function there are no problems like this. I can find any frequency parts up to f/2 (or near); but not with the AmplitudePhaseSpectrum() function. Any reasons or ideas for that?
09-09-2016 02:37 AM
I add a list of results from different tools (Flexpro, IMC Famos, Mathcad & NI APS function) incl. Index, frequency bin, Amps,
The input vector has 64 samples (w/ 30 Hz sampling frequency). The complex output vector has also 64 values. First bin is DC amp, then steps by 0.46875 Hz up to folding border bin no. 33 = 15 Hz (max; no double bin if input are even) (starting Index=1). Downstairs ... All other tools calc correct, only NI function not!
Ind. | f [Hz] | FlexPro | SpecFamos | Mcad | NI |
1 | 0,000 | 0,566 | 0,566 | 0,566 | 0,566 |
2 | 0,469 | 0,333 | 0,333 | 0,333 | 0,333 |
3 | 0,938 | 0,159 | 0,159 | 0,159 | 0,159 |
4 | 1,406 | 0,105 | 0,105 | 0,105 | 0,105 |
5 | 1,875 | 0,079 | 0,079 | 0,079 | 0,079 |
6 | 2,344 | 0,063 | 0,063 | 0,063 | 0,063 |
7 | 2,813 | 0,053 | 0,053 | 0,053 | 0,053 |
8 | 3,281 | 0,045 | 0,045 | 0,045 | 0,045 |
9 | 3,750 | 0,040 | 0,040 | 0,040 | 0,04 |
10 | 4,219 | 0,036 | 0,036 | 0,036 | 0,036 |
11 | 4,688 | 0,032 | 0,032 | 0,032 | 0,032 |
12 | 5,156 | 0,029 | 0,029 | 0,029 | 0,029 |
13 | 5,625 | 0,027 | 0,027 | 0,027 | 0,027 |
14 | 6,094 | 0,025 | 0,025 | 0,025 | 0,025 |
15 | 6,563 | 0,023 | 0,023 | 0,023 | 0,023 |
16 | 7,031 | 0,022 | 0,022 | 0,022 | 0,022 |
17 | 7,500 | 0,021 | 0,021 | 0,021 | 0,021 |
18 | 7,969 | 0,020 | 0,020 | 0,020 | 0,02 |
19 | 8,438 | 0,018 | 0,018 | 0,018 | 0,018 |
20 | 8,906 | 0,018 | 0,018 | 0,018 | 0,018 |
21 | 9,375 | 0,017 | 0,017 | 0,017 | 0,017 |
22 | 9,844 | 0,016 | 0,016 | 0,016 | 0,016 |
23 | 10,313 | 0,015 | 0,015 | 0,015 | 0,015 |
24 | 10,781 | 0,015 | 0,015 | 0,015 | 0,015 |
25 | 11,250 | 0,014 | 0,014 | 0,014 | 0,014 |
26 | 11,719 | 0,015 | 0,015 | 0,015 | 0,015 |
27 | 12,188 | 0,017 | 0,017 | 0,017 | 0,017 |
28 | 12,656 | 0,023 | 0,023 | 0,023 | 0,023 |
29 | 13,125 | 0,037 | 0,037 | 0,037 | 0,037 |
30 | 13,594 | 0,070 | 0,070 | 0,070 | 0,07 |
31 | 14,063 | 0,174 | 0,174 | 0,174 | 0,174 |
32 | 14,531 | 0,936 | 0,936 | 0,936 | 0,936 |
33 | 15,000 | 1,191 | 1,191 | 1,191 |
09-09-2016 02:41 AM
Sorry for the bad list format; here is a better one:
Ind. f [Hz] FlexPro Famos Mcad NI
1 0,000 0,566 0,566 0,566 0,566
2 0,469 0,333 0,333 0,333 0,333
3 0,938 0,159 0,159 0,159 0,159
4 1,406 0,105 0,105 0,105 0,105
5 1,875 0,079 0,079 0,079 0,079
6 2,344 0,063 0,063 0,063 0,063
7 2,813 0,053 0,053 0,053 0,053
8 3,281 0,045 0,045 0,045 0,045
9 3,750 0,040 0,040 0,040 0,04
10 4,219 0,036 0,036 0,036 0,036
11 4,688 0,032 0,032 0,032 0,032
12 5,156 0,029 0,029 0,029 0,029
13 5,625 0,027 0,027 0,027 0,027
14 6,094 0,025 0,025 0,025 0,025
15 6,563 0,023 0,023 0,023 0,023
16 7,031 0,022 0,022 0,022 0,022
17 7,500 0,021 0,021 0,021 0,021
18 7,969 0,020 0,020 0,020 0,02
19 8,438 0,018 0,018 0,018 0,018
20 8,906 0,018 0,018 0,018 0,018
21 9,375 0,017 0,017 0,017 0,017
22 9,844 0,016 0,016 0,016 0,016
23 10,313 0,015 0,015 0,015 0,015
24 10,781 0,015 0,015 0,015 0,015
25 11,250 0,014 0,014 0,014 0,014
26 11,719 0,015 0,015 0,015 0,015
27 12,188 0,017 0,017 0,017 0,017
28 12,656 0,023 0,023 0,023 0,023
29 13,125 0,037 0,037 0,037 0,037
30 13,594 0,070 0,070 0,070 0,07
31 14,063 0,174 0,174 0,174 0,174
32 14,531 0,936 0,936 0,936 0,936
33 15,000 1,191 1,191 1,191 -----