Line 2: | Line 2: | ||
B) The contents of this file are still unintelligable to me. (Surprise, surprise!) | B) The contents of this file are still unintelligable to me. (Surprise, surprise!) | ||
+ | |||
+ | %Jessica Sparks | ||
+ | |||
+ | %Homework 1 part2 | ||
+ | |||
+ | JP = wavread('H:/ECE301/jpforward.wav'); | ||
+ | |||
+ | wavplay(JP, 44100) | ||
+ | |||
+ | j=1; | ||
+ | |||
+ | for I = 751000:-1:1 | ||
+ | JPB(j) = JP(I); | ||
+ | j=j+1; | ||
+ | end | ||
+ | |||
+ | |||
+ | wavwrite(JPB, 'H:/ECE301/jpbackward.wav'); | ||
+ | |||
+ | |||
+ | wavplay(JPB, 44100) |
Revision as of 03:04, 5 September 2008
A) The contents of this file are unintelligable to me.
B) The contents of this file are still unintelligable to me. (Surprise, surprise!)
%Jessica Sparks
%Homework 1 part2
JP = wavread('H:/ECE301/jpforward.wav');
wavplay(JP, 44100)
j=1;
for I = 751000:-1:1
JPB(j) = JP(I); j=j+1;
end
wavwrite(JPB, 'H:/ECE301/jpbackward.wav');
wavplay(JPB, 44100)