Square wave to bits in Simulink

In simulink I have created an envelope detector that gives me a square waveform. I now want to take this waveform and convert the data into bits (1s and 0s). How can I get bits from my waveform? Thank you!

Answers (1)

galaxy
galaxy on 5 Nov 2019
You can write waveform data to workspace via To Workspace block or Scope

Asked:

on 5 Nov 2019

Answered:

on 5 Nov 2019

Community Treasure Hunt

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

Start Hunting!