[Math] Fourier transform delayed heaviside function : sinc-like output

fast fourier transformfourier transformlaplace transform

When I fourier transform (FFT) a (delayed) Step funciton (Heaviside function) I get frequency spectrum that follows a very sinc-like pattern, see figure below (showing the asbolute value of the FFT)

However, when I derive it analytically I should see no such pattern.

$y (t)=\begin{cases}
0, & \text{if $ \quad t <t_d$ } \\[2ex]
A, & \text{if $ \quad t> t_d$ }
\end{cases}$

Analytically, a fourier transform would be the fourier transform of the heaviside function delayed by time $t_d$, which holds no sinc pattern.:

$Y(\omega) = \int_{-\infty}^{\infty} y(t)e^{-i\omega t}dt = \int_{t_d}^{\infty}Ae^{-i\omega t}dt = A[-\frac{e^{-i \omega t}}{i\omega}]_{t_d}^{\infty} = A [-\frac{e^{-i \omega \infty}}{i\omega} + \frac{e^{-i \omega t_d}}{i\omega}] $

–> (Skipping one step)–> $Y(\omega)= A( \pi \delta(\omega) + \frac{1}{i\omega} )e^{-i \omega t_d} $

A different way of looking at the function in the time domain would be to express it as a constant $A$ minus a pulse starting at $t=0$ with pulse width $t_d$ and amplitude $A$. Converting this to the Frequency domain (derivation not shown, though see comment by K.K.McDonald) yields:

$y(t) = A – A\cdot \Pi(\frac{t-t_d/2}{t_d}) \quad$ if $t>0 $, else $\quad y(t)=0$

$Y(\omega) = A \pi \delta(\omega)- A (2 \frac{sin(\omega t_d)}{\omega} e^{-i\omega t_d/2})$

This does seem to be more consistent with my Matlab FFT output (see figure below). However, both derivations should be correct and consistent if I'm not mistaken. Why wouldn't they be consistent?

FFT of a delayed unit step (Heaviside) with delay time $t_d$

Best Answer

Found the error in my derivation. My first derivation is not correct. The heaviside cannot be delayed by simply adding a delay term.

SInce $y(t)$ only has a value for $t>t_d$ the fourier transform yields $\int_{t_d}^{\infty}Ae^{-i\omega t}dt$.

The integral $\int_{t_d}^{\infty}Ae^{-i\omega t}dt = A\int_{t_d}^{\infty}cos(\omega t)dt + Ai\int_{t_d}^{\infty}sin(\omega t)dt $ is not defined. This also required for the derivation for the heaviside fourier transform where $\int_{0}^{\infty}Ae^{-i\omega t}dt$ is not defined

Using a briefer notation: Since $\int_{t_d}^{\infty}$ does not hold because of the infinity in the integral, it is possible to rewrite this to:

$\int_{t_d}^{\infty}Ae^{-i\omega t}dt = \int_{0}^{\infty}Ae^{-i\omega t}dt - \int_{0}^{t_d}Ae^{-i\omega t}dt$

The second term ($\int_{0}^{t_d}$) is finite, and therefore defined. The first term is can derived analogous to the fourier transform of the 'normal' (without delay) heaviside function. The first integral on the rhs is the correction term, if you will, which is a pulse in time domain and a sinc in the frequency domain.

Related Question