Revision as of 13:10, 18 December 2008 by Mcwalker (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Recording sound:

WAVRECORD(N,FS,CH) Records N samples at frequency FS. CH is number of channels. Use 1 for the homeworks. Returns a matrix of size N, contiaining the samples
WAVPLAY(Y,FS) Plays audio stored in vector Y at a sampling rate of FS Hz.
Plot(Y) Plots vector Y (useful to visualize an audio signal). Plotting at different frequencies:
x=y ( 1 : N : length(y) ); will create a vector x, which is the signal Y at 1/N of its original frequency. (takes every N element of y and puts in in x)

Alumni Liaison

To all math majors: "Mathematics is a wonderfully rich subject."

Dr. Paul Garrett