p4 - wavwrite(fn3'sinwaveDouble.wav soundsc(fn3 fn4 =...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function [ output_args ] = p4( input_args ) %P4 Summary of this function goes here % Detailed explanation goes here t=0:1/8000:1; fn = 0.6*sin(100*t*2*pi); fn2 = half(fn); soundsc(fn2) wavwrite(fn2,'sinwaveHalf.wav'); fn3 = double3(fn);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: wavwrite(fn3,'sinwaveDouble.wav'); soundsc(fn3) fn4 = fliplr(fn); wavwrite(fn4,'sinwaveFliplr.wav'); soundsc(fn4) fn5 = fliplr(fn); wavwrite(fn5,'sinwaveFlipud.wav'); soundsc(fn5) end e...
View Full Document

This note was uploaded on 10/02/2011 for the course CSE 3451 taught by Professor A during the Spring '10 term at York University.

Ask a homework question - tutors are online