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

Revision as of 06:37, 4 September 2008

Matlab

%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

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang