# DSP Notes

## Page Contents

## References

None

## Blah

https://www.maths.ox.ac.uk/system/files/attachments/complex%20%281%29.pdf https://ocw.mit.edu/courses/mathematics/18-03sc-differential-equations-fall-2011/unit-i-first-order-differential-equations/complex-arithmetic-and-exponentials/MIT18_03SCF11_s6_5text.pdf https://www.pearsonschoolsandfecolleges.co.uk/Secondary/Mathematics/16plus/EdexcelModularMathematicsforASandALevel/Resources/FurtherPureMathematics2/03%20Ch%2003_018-065.pdf http://faculty.uml.edu/cbyrne/SP1text.pdf http://www-math.mit.edu/~gs/papers/newsigproc.pdf http://www.ling.upenn.edu/courses/ling525/Moore1978Part1.pdf http://www.ling.upenn.edu/courses/ling525/Moore1978Part2.pdf http://greenteapress.com/thinkdsp/thinkdsp.pdf http://web.eecs.umich.edu/~aey/eecs206/lectures/phasor.pdf https://www.gaussianwaves.com/2015/11/interpreting-fft-results-complex-dft-frequency-bins-and-fftshift/ << AWESOME https://math.stackexchange.com/questions/9416/extracting-exact-frequencies-from-fft-output https://dsp.stackexchange.com/questions/38577/fft-starting-at-zero

- Discrete time
- Discrete amplitude

Analogue and digital signals can carry the same information under certain conditions. Answered by
Harry Nyquist and Claude Shannon. Under appropriate "slowness" conditions for we
have the Sampling Theorem:
We can build the continuous time signal from the discrete time sequence. Take copies of the
function at each sample location scaled by the amplitude of the sample and sum them to get back the
original function.
The conditions under which you can do this are determined by the Fourier transform. Once we know
the "speed" of the signal we can choose a sampling interval that will allow the above
theorem to work - this is the *Nyquist* rate.

Discrete time signal is a sequence of *complex* numbers denoted where the square
brackets are used to indicate its discrete nature. The index n just provides an ordering for
samples which are taken at a steady interval, the sampling period. The sequence is two-sided in
that it goes from minus infinity to plus infinity.

The delta signal: . TODO INSERT GRAPH

The unit step signal: . TODO INSERT GRAPH

The exponential signal: . TODO INSERT GRAPH. E.g. describes newtons law of cooling or capacitor discharge.

The sinusoidal signal: . Angles in radians.

There are 4 signal classes:

- finite length - only N samples. Range of index is 0 to N-1.
- infinite length - index N ranges over entire range of integers. abstract. good for theoems. They have
*infinite*energy. - periodic - data repeats every N samples. Represent with a tild on top. Same info as a finite-length of length N. They have
*infinite*energy. - finite support - infinite length with on a finite number of non zero samples. Eg unit step.

Elementary operations include scaling, sum, product. These can be applied to any discrete signal.
Shift-by-k can be applied to infinite signals, but when applying to discrete time signals we need
to state what happens when we go beyond the index range N, i.e., how we embed it into an
infinite length sequence. Can embed into a finite-support sequence by putting zeros on the
left and right. Or we could use a periodic extension, whereby the shift becomes circular.
*The periodic extension is the natural way to interpret the shift of a finite-length signal*.

Energy of signal defined by the following.

Power is the rate of energy production defined as follows.

## DFT/FFT

http://www.tedknowlton.com/resume/FFT_Bin_Interp.html https://electronics.stackexchange.com/questions/12407/what-is-the-relation-between-fft-length-and-frequency-resolution