4.4 Energy spectral density (ESD)
To understand the ESD definition, it is useful to recall the Parseval’s Theorem 2 for block transforms in Section 2.4.5. This theorem can be extended to continuous and discrete-time signals.
For continuous-time signals, the energy can be obtained in time-domain according to Eq. (1.22) or, equivalently, in frequency-domain as
| (4.15) |
which is a version of Parseval’s Theorem.
Eq. (4.15) suggests defining
| (4.16) |
as the ESD in continuous-time. Therefore, describes how the signal energy is spread over frequency and its integral is the energy . The adopted unit for the ESD is joules/Hz.
Note that, while represents the instantaneous power in time-domain, in frequency-domain, represents the ESD.
Example 4.5. ESD of a real-valued exponential. Consider the energy signal in volts, where . Its Fourier transform is and the ESD in joules/Hz is
The signal energy is . Listing 4.6 illustrates how can be estimated in time-domain and also using . In this case, the range is simulated as s and Hz in time and frequency-domain, respectively.
1%% Generate time-domain signal 2Ts=0.0001; %defines resolution in time 3t=0:Ts:30; %time axis 4a=0.9; %constant 5x=exp(-a*t); %signal 6subplot(211), plot(t,x) 7xlabel('t (s)'); ylabel('x(t) amplitude') 8%% Generate ESD 9f=linspace(-2,2,1000); %frequency axis 10Gf= 1 ./ ((2*pi*f).^2 + a^2); %ESD 11subplot(212) 12plot(t,x), plot(f,Gf) 13xlabel('f (Hz)'); ylabel('ESD (J/Hz)') 14%% Confirm Parseval theorem 15energy_equation = 1/(2*a); %theoretical 16energy_time = sum(abs(x).^2)*Ts; %integration 17df=0.0001; %defines resolution in frequency 18min_f = -1000; %range of interest 19max_f = 1000; 20f=min_f:df:max_f; %frequency axis 21Gf= 1 ./ ((2*pi*f).^2 + a^2); %recalculate ESD 22energy_frequency = sum(Gf)*df; %integration 23disp(['Theoretical energy =' num2str(energy_equation) ' Joules']) 24disp(['Integration in time =' num2str(energy_time) ' Joules']) 25disp(['Integration in frequency =' num2str(energy_frequency) ' J']) 26%% Energy in given frequency band 27min_f = 0.2; max_f = 1; %range of interest 28f=min_f:df:max_f; %new frequency axis 29Gf= 1 ./ ((2*pi*f).^2 + a^2); %recalculate ESD 30energy_band = 2*sum(Gf)*df; %integration using 2 times 31disp(['Energy in band =' num2str(energy_band) ' Joules'])
Listing 4.6 also illustrates how can be conveniently used to estimate the energy within a given frequency band. In this example, the energy within the range from 0.2 to 1 Hz, considering both negative and positive frequencies, is J.
Example 4.6. ESD of a sinc in time-domain. Now consider the energy signal is in volts. According to Eq. (A.56), one needs to consider that , such that Hz. With this assumption, Eq. (A.56) can be used together with the linearity property of the Fourier transform. The linearity takes care of a factor of 4 that multiplies Eq. (A.56), such that one has for Hz and 0 otherwise. Hence, the ESD of is for Hz and 0 otherwise. In this case, using the ESD instead of , it is easy to conclude that the total signal energy is joules.
4.4.1 ESD of discrete-time signals
The ESD in discrete-time is defined as
| (4.17) |
Similar to Eq. (4.19), needs to be normalized by the factor to be interpreted as in units of joules per radians. Using this definition, one can properly interpret a version of the Parseval’s theorem in discrete-time:
| (4.18) |
Example 4.7. ESD of a discrete-time sinc. Consider the discrete-time, non-periodic and finite-energy signal
in volts. From Eq. (A.58), its DTFT is known to be:
The corresponding ESD is given by
Using Parseval’s Theorem for discrete-time signals, the total signal energy can be computed as
Thus, the total energy of the signal is joules.
4.4.2 Advanced: Different definitions of ESD and their units
In continuous-time spectral analysis, the linear frequency in Hertz is more convenient and angular frequencies are seldom adopted. But this is not an option in discrete-time processing, given that is an angle (assumed in radians) and does not have a counterpart in Hertz. Hence, in spite of being more convenient in continuous-time signal processing to adopt (using Hz), it is useful to discuss (using rad/s) in continuous-time to facilitate interpreting (using rad) in discrete-time processing.
4.4.3 Units of ESD when angular frequencies are adopted
Similar to the discussion in Section 2.5.4 regarding the Fourier transform with in rad/s, there is a subtle issue when using radians per second instead of Hertz for the ESD. In this case, the factor needs to be taken in account such that has the unit of joules/(rad/s). In other words, while has the unit of joules/Hz, it is not strictly correct to state that has the unit of joules/(rad/s). Only after the normalization by , one has with the unit of joules/(rad/s).
The energy over a band of frequencies specified in rad/s can then be calculated by integrating over this band. For instance, considering a band the energy is:
| (4.19) |
where and the unit of is joules/(rad/s).
Example 4.8. The unit of is joules/(rad/s). For instance, take the sinc signal of Example 4.6, which has a flat ESD given by J/Hz within the range Hz and zero otherwise. The representation of this ESD in rad/s has the same constant value but now over the range rad/s. The value can be interpreted as a density in J/(rad/s). Within the range , one has J.
Table 4.2 summarizes the discussed ESD functions.
Time | Ind. var. | ESD definition | ESD main property | |
Continuous-time | (Hz) | |||
Continuous-time | (rad/s) | |||
Discrete-time | (rad) | |||