Forums

fft of step functions

Started by shiv...@yahoo.com January 29, 2007
Hi,

I want to do fast fourier transform (using matlab) of the following functions

a) step function.i.e

f(t) = 0.0 if t<0
f(t) = F0 if t>=0

and

b) step function with exponential decay parameter

g(t) = 0.0 if t<0
g(t) = F0*exp(-at) if t>=0

Here the time domain is from (-infinity to +infinity)

The obtained results would be compared with continuous fourier transform results.

Pl. could u help to do the above.
Thanks.

Regards
shiva