06-04-2015 12:32 AM
Also tried generating a sine wave of 50 Hz and an amplitude of 100 and then do an FFT. But the FFT does not give magnitude at 50 Hz..