[Script table] [Matlab
Info] [Course
web page] Last
update: 21 Sep 00
The demo scripts are to show a particular concept in class. Template scripts are intended to be studied and modified by students in creating their own scripts (or parts of the m-file) . Utility or Library scripts single scripts or groups of scripts that implement some particular functionality.
| Script Name | Demo/Template/Utility | Purpose |
| dft1demo1.m | demo | shows a signal and its Discrete Fourier Transform |
| cossinmat.m
cossinmat2.m cossinmat3.m |
utility & template | shows how to calculate the trigonometric wave form matrix |
| fouriercoeffs.m | demo | compute fourier coefficients of a signal
then plot the signal and the coefficients |
| flopscount.m | demo & template | compare efficiencies of various ways of computing Fourier coefficients |
| wave1d.m
wave1d2.m wave1d3.m |
demo & template | show real and imaginary parts of 1D exponential waveforms
also demonstrate aliasing. |
| wave1dfd.m
wave1dsfd.m |
demo & template | show wave form as a function of point in frequency domain
wave1dfd has frequency domain 0...N wave1dsfd has frequency domain -N/2...N/2 |
| RGBOpic.m | demo & template | show R, G, and B components of a pseudocolour image |
| trigwave.m | demo & template | show product and sum wave form for trigonometric functions |
| wave2d.m | demo & template | show the real and imaginary parts of an exponential wave |
| wavefft2lband.m | demo | show a linear band of wave forms in the unshifted frequency domain
the sum of the horizontal and vertical frequencies is the same |
| wavefft2cband.m | demo | show a circular band of wave forms of equal frequency in the shifted frequency domain |
| denoise.m | demo & template | denoise a signal using the DFT. |
| acomp.m | demo & template | demonstration of compression of an audio signal |
| icomp.m | demo & template | demonstration of compression of an image |
| dctdemo.m | demo | demonstrate orthogonality and the wave forms for the 1D dct |
| dct1demo1.m | demo & template | show signal, dct, thresholded dct and reconstructed signal |
| wavedct2lband.m | demo & template | show a linear band of wave forms, the sum of the horizontal and vertical frequencies is the same |
| blkdct2.m
blkidct2.m |
utility | block dct2 and idct2 of an image |
| lphpdenoise.m | demo | low pass and high pass filters on a signal with noise |
| conv1demo1.m | demo | show before and after pictues of convolution on various signals, especially exponential wave forms. |
| wavedormsDFT.m
waveformsDCT.m waveformsDWT.m |
demos | show the analysis and synthesis waveforms for the DFT, DCT and DWT |
| analsynDCT.m
analsynDWT.m |
demos | shows analysis and synthesis of a signal stepping through one waveform at a time. |
| dwt2lev1analsyn.m | demo, template | shows decomposition of image into approximation and horizontal, vertical and diagonal details |