timeseries array into bps stream
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Nina Buchanan
am 17 Jul. 2017
Beantwortet: Don Zheng
am 19 Jul. 2017
In a Simulink model, I have a timeseries array (uniform times of .01 and data in uint8)that I need to feed into an encoder as a bits per second stream. The sample time on this stream needs to be 1/1200, 1/600, 1/300, or 1/150 with 0.2 samples per frame. The output needs to be boolean. How could I do this? Thanks for any help.
0 Kommentare
Akzeptierte Antwort
Don Zheng
am 19 Jul. 2017
You may consider using a Level-2 MATLAB S-Function block between the input block and the encoder block. In the S-Function block, define a buffer to hold the input data and emit the required amount of bits out per simulation time step.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Prepare Model Inputs and Outputs finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!