Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: reshape?
Replies: 2   Last Post: Dec 29, 2012 3:30 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
hadi motamedi

Posts: 48
Registered: 11/9/10
reshape?
Posted: Dec 24, 2012 12:17 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Dear All
To send a speech wave signal through a noisy channel , I tried as :
->[y,Fs]=wavread('speech.wav');
->x=(0.999/(max(y-min(y)))*(y-min(y));
->n=4;
->y1=floor(2^n*x);
->b1=de2bi(y1,'left-msb');
->b11=reshape(b1.',numel(b1),1);
To this end, I have the original data in binary form suitable to send through a noisy channel. The matrix [y1] contains the digits and the matrix [b11] contains the bits to be sent through the noisy channel. Please consider the matrix [b11p] to be the received noisy binary data . Can you please let me know how can I convert it back to the digits to be able to play the noisy wave sound?
Thank you


Date Subject Author
12/24/12
Read reshape?
hadi motamedi
12/25/12
Read reshape?
Roger Stafford
12/29/12
Read Re: reshape?
hadi motamedi

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.