I have an array of values. I can use the max function, ie. max(array), to output the maximum value in the array. However, I would also like it to output the array index value at the maximum. It's easy to do by graphin it and using the trace function or such, but I wanted the program to find...
Thanks. I think I've figured out the problem. It talks about scaling the FFT by 2, but it wasn't coming out right still. I think it's de to the ratio of samples to input frequency. It has to be an integer to come out right.
I've been working on this FFT transform and I can't seem to get the right amplitude out. The frequency is correct, but the amplitude is about 1/3 of what it should be. The FFT was also done in LabView where it seems to be correct. Does anyone know if the amplitudes for MathCAD are scaled down...