M-file | Description |
airgnotes.m |
These are the piano key numbers and the corresponding durations for
the song Air on a G-String by J.S. Bach.
This is the LONG version which has all the notes; there is also a short
version available for debugging in the file called airgshort.m
|
airgshort.m |
These are the piano key numbers and the corresponding durations for
the song Air on a G-String by J.S. Bach.
This is the SHORT version which his available for debugging
|
alphacon.m |
This script will allow the user to select what percentage of filters
A and B should be used to generate an output. The following equation
determines the percentages for the output.
x (1 - Alpha) = Percent due to filter A
x Alpha = Percent due to filter B
|
amdemod.m |
Demodulate an amplitude modulated waveform
using a simple scheme consisting of a rectifier
followed by a leaky first-order hold scheme.
|
beatcon.m |
beatcon.m is a scipt that creates a GUI that manipulates
values plugged into the user defined "beat.m" function. It allows
output to be plotted or played through the audio speaker, as well
as give an example for what beat notes sound like. Plots can be
saved to postscript files.
|
beatconb.m |
For documentation see beatcon.m
|
clip.m |
Clips a signal so laves fall between "lo" and "hi".
|
dirich.m |
compute sin(L*omega/2)/Lsin(omega/2)
|
dtft.m |
calculate DTFT at N equally spaced frequencies
|
dtmfchck.m |
decode the DTMF waveform into keys that were pressed
|
dtmfcut.m |
find the DTMF tones within x[n]
|
dtmfmain.m |
run the entire DTMF decoder
|
dtmfskeletons.m |
Create a vector of tones which will dial
a DTMF (Touch Tone) telephone system.
|
fenotes.m |
the song Fur Elise.
|
firfilt.m |
FIR filter implemented as a difference equation
|
freekz.m |
Frequency response for a rational (numerator/denominator) form.
Modification of a Mathworks M-file called freqz() in the sig proc toolbox.
|
hammfilt.m |
FIR filter design with a Hamming window
works for lowpass, highpass, and bandpass cases
|
image2bmp.m |
Write image to bitmap file.
|
imsample.m |
Function for sub-sampling an image
|
inout.m |
plot LONG input & output signals
put them on alternate lines in a strip plot
|
j_notes.m |
vectors for the melody notes and durations
|
mattostr.m |
convert an entire matrix X to formatted numbers,
using a C format in STYLE, e.g., '%3.f'
|
mignotes.m |
the song Minuet in G Major by J.S. Bach.
This is the LONG version which has all the notes; there is also a short
version available for debugging in the file called migshort.m
|
migshort.m |
the song Minuet in G Major by J.S. Bach.
This is the short version which should be useful for debugging; a longer
version is available in the file called mignotes.m
|
nveloper.m |
This GUI script allows users to edit FM envelopes. The GUI builds
As the user supplies more exteranl code.
|
pkinterp.m |
interpolate to refine a peak position
|
pkpick.m |
pick out the peaks in a vector
|
plotspec.m |
plot a Spectrogram as an image
(take care of all the default settings)
|
pumpkin.m |
generates a frequency modulated signal with an
interesting trajectory, than plays the sound.
|
show_img.m |
SHOW_IMG display an image with possible scaling
|
showspec.m |
Plot a simple estimate of the spectrum of a signal.
|
spectgr.m |
compute the spectrogram of a signal vector
|
spfirst.m |
Run this to update the MATLAB path to include the MATLAB demos.
|
striplot.m |
plot long signal in horizontal strips
( for multi-line speech wfms )
|
trusize.m |
Display image pixel-for-pixel on the screen
|
ucplot.m |
Plot a circle with specified center and radius
|
vowel_d.m |
Vowel Demo:
This script demonstrates the basic idea of harmonic sinusoids.
Five sinusoids with a common fundamental frequency are
added together, one at a time.
Thus we can see how the waveform changes as higher harmonics
are added in. In addition, the sound of the waveform is
played at each step.
|
wavesnds.m |
generate wavforms as sum of sinusoids
|
wavwrisc.m |
scales xx and saves it as a .wav file.
in version 4, we do 8-bit .wav files
in version 5, we let it do the default (16-bit .wav files)
|
woodwenv.m |
produces amplitude and mod. index envelope functions
for woodwinds
|
wrinotes.m |
WRINOTES(notes,durs,acc) draws the musical notes described by "notes" and
"durs" on a musical staff. The parameter "acc" determines whether the
black key notes will be written as sharps or flats.
|
zcat.m |
Plot vectors in z-plane end-to-end
|
zcoords.m |
put co-ordinates on a z-plane diagram
|
zone_mak.m |
ZONE_MAK Creates an N by N zone-plate image
|
zprint.m |
printout complex # in rect and polar form
|
zvect.m |
Plot vectors in complex z-plane from zFrom to zTo
|
zzplane.m |
plot zeros (o) and poles (x) in the z-plane
|