Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

AmplitudePhaseSpectrum

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?

0 Kudos
Message 1 of 3
(2,977 Views)

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]FlexProSpecFamosMcadNI
10,0000,5660,5660,5660,566
20,4690,3330,3330,3330,333
30,9380,1590,1590,1590,159
41,4060,1050,1050,1050,105
51,8750,0790,0790,0790,079
62,3440,0630,0630,0630,063
72,8130,0530,0530,0530,053
83,2810,0450,0450,0450,045
93,7500,0400,0400,0400,04
104,2190,0360,0360,0360,036
114,6880,0320,0320,0320,032
125,1560,0290,0290,0290,029
135,6250,0270,0270,0270,027
146,0940,0250,0250,0250,025
156,5630,0230,0230,0230,023
167,0310,0220,0220,0220,022
177,5000,0210,0210,0210,021
187,9690,0200,0200,0200,02
198,4380,0180,0180,0180,018
208,9060,0180,0180,0180,018
219,3750,0170,0170,0170,017
229,8440,0160,0160,0160,016
2310,3130,0150,0150,0150,015
2410,7810,0150,0150,0150,015
2511,2500,0140,0140,0140,014
2611,7190,0150,0150,0150,015
2712,1880,0170,0170,0170,017
2812,6560,0230,0230,0230,023
2913,1250,0370,0370,0370,037
3013,5940,0700,0700,0700,07
3114,0630,1740,1740,1740,174
3214,5310,9360,9360,9360,936
3315,0001,1911,1911,191 
0 Kudos
Message 2 of 3
(2,958 Views)

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 -----

0 Kudos
Message 3 of 3
(2,957 Views)