quiz9 -...

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

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Writeanduploadthescriptdescribedbelowtotheclasswebsite.Inorderto receivefullcredit,yourscriptmusthaveproperformatting,run,andgivethe correctoutput. Thetouchtonekeypadofaphonegeneratesadual tonemultiplefrequency(DTMF)signalwhenyou depressakey.Specifically,sinusoidsofthe correspondingrowandcolumnfrequenciesare generatedandsummedtogivethedualtone.The frequenciesusedforthetonesinHzaredepicted inthediagramtotheright. WriteaMATLABscriptfilethatwillloadinto MATLABaDTMFsignalandplottheamplitudeof thesoundwavevs.timeinseconds. Then,havethescripttaketheFastFourier Transform,andplotthepowervs.frequency. Fromtheplotdeterminewhichkeytheuser pressedtogeneratethesignal.Inthetitleofyour powervs.frequencyplot,includethetwofrequencies ofthesignalandcorrespondingkey.Besuretolabel theaxesoftheplots. Thesoundfileforthequiz,tone.txt,wasemailedtoyou.Itconsistsofasingle columnofnumbers,thesoundwaveamplitude.Thesignalinthefilewasdigitizedat asamplingfrequencyoffs=8192samplesec1.Thereare4096datapointsinthe file. IntroductiontoComputationalPhysics Phy265Quiz9(TakeHome) Due12:40p.m.April15,2011 ...
View Full Document

Ask a homework question - tutors are online