Arranging column vector of bits as timeseries data for modulation
4 views (last 30 days)
Show older comments
Hello,
I am attempting to begin a transmission model as follows:
These bits (8 bits per Char from the message) will then be passed to a variable modulation scheme but I am testing by alternating between 2-PSK and 8-PSK. My goal is to have this [104x1] vector as timeseries data that the modulation blocks can read in either the form [1x1x104] for 2-PSK or [8x1x13] for 8-PSK (in this example).
I have attempted using a buffer and a queue with no sucess. I also have a work around for this problem using the "Signal from Workspace" block on a [1x104] binary vector generated from a Matlab script, however one of my aims is to create a standalone Simulink model so I would not like to rely on this solution. Finding a solution to this problem also solves a complete seperate issue I'm having which doesn't have such an easy work around.
I have used Simulink in the past but most of my knowledge on timeseries data has come from trial and error with this model so apologies for any bad assumptions.
Thank you in advance for any help or advice that can be provided.
0 Comments
Answers (1)
Sreeram
on 18 Oct 2024
Hi Jack,
As per my understanding, you are trying to convert the Boolean [104x1] data output from the “Integer to Bit Converter” to timeseries data while ensuring it uses a standalone Simulink file.
I recommend slightly tweaking the suggested workaround. You may consider using a “To Workspace” block instead of the “Out1” block to save the [104x1] binary vector to the MATLAB Workspace. Then, use the “Signal from Workspace” block to read this saved vector. This way, the aim to create a standalone model will be achieved.
I hope it helps!
0 Comments
See Also
Categories
Find more on PSK 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!