Phase Trellis Plot for Digital Communication Systems
Version 1.0.1 (1.34 KB) by
Gautam Chettiar
Plotting given binary data into a Phase Trellis Plot. Code flexible for any limit of binary digits, and has limits -pi to pi.
Algorithm:
1) If input is 1, add pi/2 to the previous value and append to output if the output is above pi, else subtract by 2pi.
2) If input is 0, subtract pi/2 from the previous value and append to output if the output is below pi, else increase by 2pi.
Cite As
Gautam Chettiar (2024). Phase Trellis Plot for Digital Communication Systems (https://www.mathworks.com/matlabcentral/fileexchange/103285-phase-trellis-plot-for-digital-communication-systems), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.