Robust MatLAB function to integrate discrete time-signal in frequency domain by dividing its Fourier spectrum with -iw (w = cyclic frequency); also see diffFD (frequency-domain differentiation function).
Dr. Erol Kalkan, P.E. (2019). inteFD (https://www.mathworks.com/matlabcentral/fileexchange/58999-intefd), MATLAB Central File Exchange. Retrieved .
added "enforce input as row vector" to prevent errors if the user has a column input.
Description is updated