What problem does it solve?
Default MATLAB patterns for OFDM (direct ifft/fft, awgn with 0 dBW power, missing symOffset) produce subtly incorrect results. This Skill enforces the correct calling conventions for ofdmmod, ofdmdemod, ofdmChannelResponse, and ofdmEqualize so OFDM transmitter and receiver simulations are accurate.
Core Features & Use Cases
- Correct OFDM Modulation: Always uses ofdmmod/ofdmdemod instead of direct IFFT/FFT, with proper subcarrier allocation, null/pilot indices, and symOffset handling.
- Accurate SNR and Noise Handling: Computes explicit signal power (nActiveSC/nFFT^2) for awgn and uses convertSNR for per-subcarrier SNR, wideband SNR, and Eb/No conversions.
- Fading Channels and Equalization: Configures comm.RayleighChannel/comm.RicianChannel with PathGainsOutputPort, computes channel response via ofdmChannelResponse, and equalizes with ofdmEqualize.
- Synchronization and Coding: Covers Schmidl-Cox timing, CFO estimation with frequencyOffset, pilot-based phase tracking, and LDPC coding with ldpcEncode/ldpcDecode.
- Use Case: Build a WiFi-like 64-FFT OFDM link with pilots, Rayleigh fading, MMSE equalization, and rate-1/2 LDPC coding, then measure coded BER versus per-subcarrier SNR.
Quick Start
Ask your AI agent to design an OFDM transmitter and receiver in MATLAB with a specified FFT size, cyclic prefix, modulation order, and channel model.