This m file shows one example of dynamic phasor estimation for a fundamental tone with time-varying amplitude, phase, and frequency. The algorithm uses a polynomial approximation to represent the phasor during the observation window. The Weighted Least Squares criterion is used to obtain the best coefficients of the polynomial.
- M. A. Platas-Garza and J. A. de la O Serna, "Dynamic Harmonic Analysis Through Taylor–Fourier Transform," in IEEE Transactions on Instrumentation and Measurement, vol. 60, no. 3, pp. 804-813, March 2011, doi: 10.1109/TIM.2010.2064690.