Implementing a flexible method based on polynomial fit for harmonic analysis | IEEE Conference Publication | IEEE Xplore