Assume that the Fourier Transform of x(t) is X(jω). And I want to calculate the ˉω which is the center freqency in the spectrum ( the highest).
- And a classmate tells me this formula ˉω=∫ωX(jω) dωcould be used to calculate the center frequency ? But it is the first moment, it seems that the result is mean frequency.
- Could anyone help me with this question?
- What is the mean and center frequency of the spectrum?
There is no solution in Alan's book.
EDIT:
Maybe I did not state the center frequency clearly. I want to find out the frequency where the amplitude spectrum is biggest.
Another situation: assume that the signal is discrete x[n]. So we could just compute a period [−π,π]. In this case, this formula could represent the center frequency?
Answer
[EDIT] If just want to compute the location of the maximum amplitude, you just have to compute the maximum. You can work in a more generic context, however. As you remarked, the notion of center frequency is not evident. The notion of centroid could be more pertinent.
I assume that your signal is real (since you are talking about a maximum, not well defined in the complex domain). Since its amplitude spectrum is symmetric about 0, this possible center of mass is useless, since it is the same for all real signals (the zero-frequency). More likely, one is looking at a more useful quantity, based on a one-sided spectrum:
¯ωW=∫R+ωW(X(ω))dω
where W(X(ω)) is a weighting function that (may) depend on the spectrum X. The "mean" ¯ωW will depend on the choice of W. A code was given in the answer to Finding the right measure to compare sound signals in the frequency domain.
You can base it on an absolute value, or something else (positive). But it is important to have a normalized weight: it should, somehow, sum to one, like for a traditional center of mass. The reason is scaling homogeneity. The mean should not change if you multiply every X(w) by the same quantity.
For orthogonal transforms, based on the energy conservation:
∫[x(t)|2dt=∫[X(ω)|2dω
it is very common to use a mean/center definition based on an energetic weight, ie a square of the absolute spectrum. So every often, the mean frequency is defined as:
¯ω2=∫R+ω|X(ω)|2dω∫R+|X(ω)|2dω.
This choice is very sensitive when dealing with time/frequency location uncertainty related to the Weyl-Pauli-Heisenberg inequalities.
But you can use other Lp norms, with:
¯ωp=∫R+ω|X(ω)|pdω∫R+|X(ω)|pdω.
As p→∞, this estimator converges to the location of a maximum, as demonstrated in Metric Spaces: Why L∞ selects the maximum value.
When p=1, this is called the spectral centroid, or "brightness" (of sound), or simply "centre of gravity of amplitudes". It is described with other moments in Chapter 6.1 Spectral shape description. When p=2, this is sometimes called the power spectral centroid.
I have not found yet useful references for other powers (still searching).
No comments:
Post a Comment