Index into 32 bit word to extract relevant data

4 views (last 30 days)
I have an array of 32 bit words created by reading from a binary file. Each 32 bit word contains 12 bits of I(in-phase) and 12 bits of Q(quad-phase) data. What is the most efficient way to extract the IQ data to create an array of complex data?

Answers (1)

Steven Lord
Steven Lord on 5 Aug 2020
Use the bit-wise operations functions or use rem, mod, subtraction, and division.

Products

Community Treasure Hunt

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

Start Hunting!