this question is a bonus question for my HW, and it's supposed to be something I am suppose to look up to solve. However, I have no idea what to look up on here to help me write this code. Can anyone direct me to the Mathworks page that could potentially help me solve this problem? I know how to read the .wav file and all, but I don't know how I can reorder this signal like it's described. Any help would be appreciated.

You obtained a .wave file with a human voice signal that was scrambled. The positive frequency band 0 to Fs/2 was equally divided into four sub-bands. The original order of the subbands is ABCD. The sub-bands were then reordered to CBDA. The scrambled signal was generated by calculating the inverse DFT of the scrambled spectrum. The goal of this problem is for you to write a MATLAB program that will descramble the signal and recover the original voice signal that we can recognize. The DFT sampling range is from 0 to Fs. Because the Fourier transform of a real signal is conjugate symmetric, you only need to reorder the frequency band 0 to Fs/2 and then construct the remaining frequency samples using the conjugate symmetry property.

  • $\begingroup$ This type of question is off-topic here. I suggest that you look on Mathworks Q&A. Also, take a look at the documentation for ffshift. $\endgroup$
    – nicoguaro
    Oct 13 at 12:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.