Arranging column vector of bits as timeseries data for modulation

조회 수: 4 (최근 30일)
Jack
Jack 2024년 10월 15일
답변: Sreeram 2024년 10월 18일
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.

답변 (1개)

Sreeram
Sreeram 2024년 10월 18일
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!

카테고리

Help CenterFile Exchange에서 PSK에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by