Well, you are looking in the wrong place. Row 1 is the frequency axis, not the power spectrum.
To get the correct X values, you need to do as I did in the B example above. You cannot multiply the original x-axis with any factor, because they are inversely related df=1/(N*dt).
In my example code:
ntimes=05 X(10)=0.0332, Y(10)=0.1499
ntimes=10 X(10)=0.0332, Y(10)=0.1494
The X are the same and the y differ by 0.0005. 🙂 Right?
Close enough! 😄
cig438 wrote: Something must be wrong in my code - maybe you can show me explicitly how you would change it get a constant MTF array independent of ntimes ?