×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Convert binary code to analog signlal

Convert binary code to analog signlal

Convert binary code to analog signlal

(OP)
hi,

i am fairly new to matlab, i am currently trying to convert the following binary code to an analog signal and then i need to add noise,

01010011 01101111 01101110 01100001 01110010 00100001
Reads "Sonar!"

I would really appricates it if someone could tell me how to code this in matlab.

thank you

RE: Convert binary code to analog signlal

What type of analog signal?  If you are trying to convert the bitstream to something that you would see over a communications channel, you may need to consider quite a few things such as modulation type, encoding, etc.  There is no "direct" conversion between digital and analog signals in the real world.  

If you just want to convert the series of 1's and 0's to a series of levels so you can add "noise" to the varying levels, then just use MATLAB to multiply the 1's and 0's by the desired level value (i.e. 1=5 V, 0=0 V)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources