%Name:Vivek Ravi


%Read the wav file in matlab
fs=44100;%This is the sampling frequency to be used
[judasp,fs,bits]=wavread('C:\Documents and Settings\admin\Desktop\jpforward.wav');
wavplay(judasp,fs);%This is how it is when played forward
pause(2)
%reverse the signal
judaspback=flipud(judasp); 
sound(judaspback,fs);
pause(2)
%Slower version
slow=fs/2;
sound(judaspback,slow);
pause(3)
%fast version with doubled frequency
fast=fs*2;
wavplay(judaspback,fast);
<pre>

Alumni Liaison

Basic linear algebra uncovers and clarifies very important geometry and algebra.

Dr. Paul Garrett