Get RMS from FFT
I got an array of data voltages and I want to get the RMS value from the FFT that has been applied before to that data. I've seen that RMS in time domain should be equal to RMS(fft) / sqrt(nFFT) from Parseval's Theorem, but gives me different results. I'm using these functions: 1)FFT public static VectorDPoint FFT(double[] trama, double samplingFreq) { double fs = samplingFreq; // Sampling frequency double t1 = 1 / fs; // Sample time int l = trama.Length; // Length of signal // Time vector //Vector t = Normal(0, l, 1) * t1; //// Values vector //Vector y = new Vector(trama); // We just use half