p54 - ts=1/fs; tz = T/ts; alpha = A*cos(w.*T); echo =...

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

View Full Document Right Arrow Icon
function [ output_args ] = p54(T,A,w) %P5 Summary of this function goes here % Detailed explanation goes here [x, fs]=wavread('mySpeech.wav');
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ts=1/fs; tz = T/ts; alpha = A*cos(w.*T); echo = [zeros(tz,1); alpha .*x]; final=[x;echo]; sound(final*10) 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