Function File: t = lscomplex (time, mag, maxfreq, numcoeff, numoctaves)

Return a series of least-squares transforms of a complex-valued time series. Each transform is minimized independently at each frequency. numcoeff frequencies are tested for each of numoctaves octaves, starting from maxfreq.

Each result (a + bi) at a given frequency, o, defines the real and imaginary coefficients for a sum of cosine and sine functions: a cos(ot) + b i sin(ot). The specific frequency can be determined by its index in t, ind, as maxfreq * 2 ^ (- (ind - 1) / numcoeff).

See also: lsreal.

Package: lssa