This a matlab program using ESPRIT method to estimate the frequency of a sinusoid wave. Futhermore, a monte carlo test is provided to check for the mean error and error variance, comparing to the CRB.
the source code for particle swarm optimization algorithm is given in this file. the source code is for economic dispatch problem which is a power system problem.