rooteigFrequencies and power of sinusoids using eigenvector algorithmCalling Sequence
[w,pow] = rooteig(x,p)
[w,pow] = rooteig(...,fs)
[w,pow] = rooteig(...,'corr')
Parametersx: int|double - vector|matrixInput signal. In case of a matrix, each row of x represents a
seperate observation of the signal. If 'corr' flag is specified,
then x is the correlation matrix.
If w is not specified in the input, it is determined by the
algorithm. If x is real valued, then range of w is [0, pi].
Otherwise, the range of w is [0, 2pi)p: int|double - scalar|vectorp(1) is the dimension of the signal subspace
p(2), if specified, represents a threshold that is multiplied by
the smallest estimated eigenvalue of the signal's correlation matrix.w: int|double - vectorw is the vector of normalized frequencies over which the
pseuspectrogram is to be computed.fs: int|double - scalar (Default = 1)Sampling rate. Used to convert the normalized frequencies (w) to
actual values (f) and vice-versa.Description
[w,pow] = rooteig(x,p) estimates the frequency content in the time samples of a signal x, and returns w, a vector of frequencies in rad/sample, and the corresponding signal power in the vector pow in units of power, such as volts^2. The input signal x is specified either as:
A row or column vector representing one observation of the signal
A rectangular array for which each row of x represents a separate observation of the signal (for example, each row is one output of an array of sensors, as in array processing), such that x'*x is an estimate of the correlation matrixExamplesSee also| peig | pmusic | rootmusicReferencesStoica, P. and R. Moses, INTRODUCTION TO SPECTRAL ANALYSIS,Prentice-Hallarguments- double - vectorfrequencies of the complex sinusoids- double - vectorabsolute value squared amplitudes of the sinusoids atfrequencies w