DECOMPRESSION


The files that were saved  in point 4 of previous page, can be used to reproduce (a slightly degraded version of ) the original signal. You just need to type  "reconstruct" at the command line .

You will be asked to select  a valid file to  decompress. Select a .mat file that is prefixed  with   "comp"  . This is necessary, because  only such files contain the information used by the  MATLABŪ  routines reading the files. Failing to comply with these instructions will lead to erroneous operations.

  The reconstructed signal (with some distortion  of course) will be written to the same directory as the source (ie the compressed and encoded .mat file). Its name has a prefix of  'recon' instead of comp.

  eg : if the compressed and encoded file is  compmydata.mat then the final wav file is   reconmydata.wav.

 

Note: The  .wav file obtained in this decompression process is the same as that obtained in step 5 of  Saving data after compression