Connexions

You are here: Home » Content » Matrix Equation for the DTFS
Content Actions
Lenses

What is a lens?

Lenses

A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual Connexions member, a community, or a respected organization.

This content is ...
Affiliated with (?)
This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • This module is included inLens: Rice University OpenCourseWare
    By: OpenCourseWare ConsortiumAs a part of collection:"Signals and Systems"

    Click the "Rice University OCW" link to see all content affiliated with them.

    Rice University OCW
Also in these lenses
  • This module is included inLens: richb's DSP resources
    By: Richard BaraniukAs a part of collection:"Signals and Systems"

    Comments:

    "My introduction to signal processing course at Rice University."

    Click the "richb's DSP" link to see all content selected in this lens.

    richb's DSP
Tags

(?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

Matrix Equation for the DTFS

Module by: Roy Ha

Summary: This module looks at writing our DTFS equations in matrix form to make calculations and displaying the basis easier.

The DTFS is just a change of basis in N N . To start, we have fn f n in terms of the standard basis.
fn=f0 e 0 +f1 e 1 ++fN-1 e N - 1 =k=0n-1fkδk-n f n f 0 e 0 f 1 e 1 f N 1 e N - 1 k 0 n 1 f k δ k n (1)
f0f1f2fN-1=f0000+0f100+00f20++000fN-1 f 0 f 1 f 2 f N 1 f 0 0 0 0 0 f 1 0 0 0 0 f 2 0 0 0 0 f N 1 (2)
Taking the DTFS, we can write fn f n in terms of the sinusoidal Fourier basis
fn=k=0N-1 c k 2πNkn f n k 0 N 1 c k 2 N k n (3)
f0f1f2fN-1= c 0 1111+ c 1 12πN4πN2πNN-1+ c 2 14πN8πN4πNN-1+ f 0 f 1 f 2 f N 1 c 0 1 1 1 1 c 1 1 2 N 4 N 2 N N 1 c 2 1 4 N 8 N 4 N N 1 (4)
We can form the basis matrix (we'll call it WW here instead of BB) by stacking the basis vectors in as columns
W= b 0 n b 1 n b N - 1 n=111112πN4πN2πNN-114πN8πN2πN2N-112πNN-12πN2N-12πNN-1N-1 W b 0 n b 1 n b N - 1 n 1 1 1 1 1 2 N 4 N 2 N N 1 1 4 N 8 N 2 N 2 N 1 1 2 N N 1 2 N 2 N 1 2 N N 1 N 1 (5)
with b k n=2πNkn b k n 2 N k n
note: the entry in the k-th row and n-th column is W j , k =2πNkn= W n , k W j , k 2 N k n W n , k
So, here we have an additional symmetry W=WTWT¯=W¯=1NW-1 W W W W 1 N W (since b k n b k n are orthogonal)
We can now rewrite the DTFS equations in matrix form where we have:
  • f f = signal (vector in N N )
  • c c = DTFS coeffs. (vector in N N )
"synthesis" f=Wc f W c fn=<c,bn¯> f n c b n
"analysis" c=WT¯f=W¯f c W f W f ck=<f,bk> c k f b k
Finding (and inverting) the DTFS is just matrix multiplication.
Everything in N N is clean: no limits, no convergence questions, just good ole matrix arithmetic.

Comments, questions, feedback, criticisms?

Send feedback