(Matlab)
Line 1: Line 1:
== Matlab ==
+
==Matlab Code==
 
<pre>
 
<pre>
 
%Spencer Erekson
 
%Spencer Erekson

Revision as of 05:37, 4 September 2008

Matlab Code

%Spencer Erekson
%ECE 301 Homework 1 Problem 2
%September 4, 2008

%read in the song from the .wav file
data = wavread('Jpforward.wav');

%reverse the song
data = flipud(data);

%play the song backwards at normal speed
wavplay(data, 44100);


%play the song backwards a little slower
wavplay(data, 32000);

%you can hear him say something like "I took my life"

Alumni Liaison

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

Dr. Paul Garrett