Question: in Matlab write a code that follows this prompt: i only have one file andd the voice code file is named ZachM ( 5 )

in Matlab write a code that follows this prompt: i only have one file andd the voice code file is named ZachM (5).wav i need to break this voice code here is the prompt: Voice-Code Breaker: You will receive a corrupted voice data file that contains a voice code
consisting of several digits which can be anything from 0 to 9. For example, your code may be
756. Each digit sound (say 7 or 5 or 6) is represented by 16,000 samples. First find how many
digits are there in your voice-code. This can be simply done by dividing the number of samples
in your voice-code by 16000. Suppose you find that there are n digits in your voice-code. Your
next task is to identify each digit using mathematical operations. To do this, we will provide
you with 10 different files, each corresponding to digits 0 to 9. Let us call each such file a
template file. This means you have 10 template files. You then find the magnitude of the inner
product of each of the templates with the first digit (out of n digits) of your voice-code. Choose
the template that gives the maximum magnitude of inner product. Decide this as the first digit.
Repeat this procedure for all the remaining (n-1) digits to decode your complete voice-code.
After you have completed the mathematical decoding, use audioplayer in MATLAB to
listen to your voice-code. You have to provide the following to your TA as the final outcome
of this project: (1) your MATLAB code, (2) the decoded voice-code numbers and the magnitude
of the inner-products that you obtained, (3) demonstrate using audioplayer to your TA,
and (4) two figures: one containing the plot of the first 1000 samples of the first digit and the
other containing the first 1000 samples of the corresponding template digit that you have
identified. [40 points] do not use other files like a digital.wav file due to the fact I only have the one ZachM (5).wav file thank you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!