Useful functions

  • u(t) - Heaviside function
  • delta(t) - Dirac delta function
  • sin(t), cos(t), tan(t), asin(x), acos(x), atan(x)
  • exp(x), log(x), pow(x, y), sqrt(x)
  • PI - 3.1415...
  • SQRT2
Parameters
*

Example: sin(2 * PI * 50 * t)

*
*

The discrete signal will start at x(ts)

*

Each sample for the discrete signal will equal to x(ts + k/fs) where k = 0..Ns - 1

Must be power of 2 and greater than Ns. Not required.

{{ insert template }}

Original signal x(t)

Discrete signal x(t + k/fs)

Magnitude spectrum computed using FFT

Original signal reconstructed by IFFT