Clear Filters
Clear Filters

How to convert binary wave to analog sine wave in simulink matlab r2016b?

4 views (last 30 days)
I want to convert a digital/binary signal received at "Rectangular 16QAM demodulator" block into an analog sine wave signal in the simulink, matlab.
Please help.

Accepted Answer

Walter Roberson
Walter Roberson on 17 Mar 2017
You need a hardware output block of some kind. The appropriate blocks to use are going to depend upon the digital to analog hardware that you have available.
  3 Comments
Walter Roberson
Walter Roberson on 17 Mar 2017
Analog means a real physical signal of some sort. It could be vibrating air carrying sound waves; it could be an electric current; it could be an electromagnetic wave; it could be a laser being beamed through a fibre optic cable; and so on. If it is not being acted upon by physical processes, then it is not an analog signal.
Therefore if you want to convert to analog, as you have indicated that you do, then you need to pick an actual output device.
My guess is that you do not want to convert to analog: I think you want to simulate analog. If I am correct, then you need to decide what kind of analog processes you want to simulate.
kshama PATEL
kshama PATEL on 18 Mar 2017
Edited: Walter Roberson on 3 Apr 2017
yes, i want to simulate analog.
Basic idea is to make a "sinusoidal signal" at the input of the transmitter section of "RF Satellite Link model" compatible with the "rectangular 16-QAM modulator" block and obtain the results in the form of constellation diagram.
Please click the link to have a look at the model https://in.mathworks.com/help/comm/examples/rf-satellite-link.html. or find its picture an an attachment to this message.
I want to replace "bernoulli binary generator" block with a "sine wave" block and then simulate the same.
I tried doing the simulation but i am getting only 8 constellation points out of 16. you can find the picture of modified sinewave model and the corresponding simulated result as an attachment to this message.
Please help me to obtain all the 16 constellation points in the constellation diagram with the input as sine wave at the transmitter section of the "RF Satellite Link" model.
Thank you.

Sign in to comment.

More Answers (0)

Categories

Find more on Reference Applications in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!