matlab-design-ofdm-system
OFDM System Design
When To Use
Use this skill when the user wants to build a custom (non-standard) OFDM transmitter/receiver, configure subcarrier allocation, add noise to OFDM signals, equalize OFDM through fading channels, implement synchronization, or add LDPC coding.
When Not To Use
Do NOT use this skill for standards-specific OFDM (use 5G Toolbox for 5G NR, WLAN Toolbox for Wi-Fi, LTE Toolbox for 4G/LTE, Bluetooth Toolbox for Bluetooth, Satellite Communications Toolbox for satellite links).
GATE — Ask Before Coding
If the user's request does not specify or unambiguously imply ALL of the following, STOP and ask before generating any code. Present unclear items as a numbered list and ask whether the user wants to: (a) specify values, (b) have you derive them from other constraints (e.g., CP from delay spread, SCS from Doppler), or (c) use typical defaults. Do not assume defaults. Do not proceed until the user responds.
- OFDM parameters — FFT size, CP length, subcarrier spacing, subcarrier allocation
- Channel model — AWGN only, fading with perfect CSI, or fading with pilot-based estimation
- Pilots — needed for channel estimation or phase tracking?
- Coding — uncoded, or coded with a specific rate?
- Synchronization — perfect sync, or include timing/CFO estimation?