oscillations

  • oscillations are everywhere
  • sustainable dynamic systems are always oscillatory
  • things that don’t move in circles don’t last
    • bombs
    • rockets
    • human beings (only partially oscillatory)

clip: gyroscopic stability of a disc player in zero-gravity - OFF vs. ON

  • an oscillation is cyclic, it goes around in circles
    • all oscillations can be described with a combination of cosine and sine functions

representing an oscillation

  • a complex reference system centered on the origin of the oscillation is used for this
  • a complex exponential is used to describe the position on the plane of oscillation
  • x(t)=exp(jωt), where exp(jωt) is the complex exponential
    • j=1
    • ω: rotation/oscillation frequency
    • t: physical domain time

comp-exp-0

fig: complex exponential in complex plane with sin and cos functions

  • trigonometric expansion of complex exponential:
    • x(t)=exp(jωt)=cos(ωt)+jsin(ωt)
    • called euler’s formula

sample notation with complex exponential

  • x[n]: discretized sample notation
  • complex exponential sample notation
    • x[n]=Aexp(j(ωn+ϕ))
  • trigonometric complex sample notation
    • x[n]=A[cos(ωn+ϕ)+jsin(ωn+ϕ)]
  • where:
    • ω: frequency (radians)
    • ϕ: initial phase (radians)
    • A: amplitude
  • note that phase and frequency are both in radians when using the complex exponential paradigm

complex exponential notation

justification for use in dsp

  • every sinusoid can be written as a sum of the sine and cosine
    • sine and cosine live together
  • trigonometry becomes algebra, so notation is simpler
    • helps avoiding the use of trigonometric identities
      • significantly reduces the number of terms in equations
    • phase can be managed with exponent summation and split rule
    • phase shifts are simple complex multiplications
  • complex numbers can be used in digital systems without obstacles

anatomy of the complex exponential

  • polar form of complex exponential:
    • ejα=cosα+jsinα

comp-exp-1

fig: ejα on the complex plane (argand diagram)

  • ejα is a unit circle on the complex plane
    • unit circle: |ejα|=1

rotation about the origin complex plane

  • say z is a point on the complex plane
    • by multiplying it with ejα
    • z is rotated about the origin
      • in the anti-clockwise direction by amount α
      • about the origin
      • with radius of rotation =|z|

comp-exp-2

fig: rotation by multiplication with ejα

  • this rotation operation is the basis of the complex exponential generating algorithm
    • used to synthesize signals
      • x[n]=ejω
      • x[n+1]=ejωx[n]
      • x[0]=1
    • with an initial phase:
      • x[n]=ejω+ϕ
      • x[n+1]=ejωx[n]
      • x[0]=ejϕ
  • in discrete time, a sinusoid ejωn is periodic only if:
    • ω=MN2π; M,NN
    • i.e. only if:
      • frequency, ω, is a rational multiple of 2π
      • or equivalently, if ejωN=1
    • so not every sinusoid is periodic in discrete time

aliasing

  • the same point in the unit circle may have many names:
    • the point at ejα can
      • e2π+jα
      • e6π+jα
      • e2π+jα
  • this is called aliasing
    • natural property of complex exponential
  • in discrete time, this limits how fast we can go around the unit circle with a discrete-time signal

  • the frequency of the discrete-time machine is limited
    • 0ω<2π
    • when it is faster than 2π, due to the periodicity of the complex exponential,
      • we fall back via a modulo operation
  • even within the range, care must be taken between backwards and forwards motion
    • when ω=π,
      • the point simply oscillates between 1 and 1 on the unit circle
    • when ω>π
      • it can also be view as rotation backwards to get that point
      • it is shorter to get to that point in the backwards direction
    • so anytime ω>π,
      • it appears like a smaller step in the clockwise direction
    • this reverse effect aliasing is even more pronounced when ω is close to 2π
    • if ω»π, the rotating body appears stationary due to aliasing
  • so at different frequencies, i.e. ω values, aliasing introduces different artifacts of illusion

eigenvalues and eigenvectors

  • almost all vectors change direction when they are multiplied by a matrix
  • however, certain vectors are in the same direction even after multiplication with that matrix
    • those certain vectors are eigenvectors
  • since they are the in the same direction, multiplication with the matrix is like scaling the original vector
    • the equivalent scaling factors are called eigenvalues
  • consider equation: Ax=λx
    • A: square matrix
    • λ: eigenvalues of A
    • x: eigenvectors of A
  • rearranging this, we get: AλI=0
    • from this we get A’s characteristic equation:
      • |AλI|=0
      • where |A|: determinant of matrix A
    • the roots of this equation are eigenvalues λ
  • having computed the eigenvalues λ, the eigenvectors x can be found using Ax=λx

  • if eigenvector elements can take on arbitrary values based on a relationship between them, make sure to normalize them with the square root of the sum of squares of all elements
    • i.e. normalize it with the length (first modulus) of the vector

references