Plot histogram and estimated PDF in Matlab

Key focus: With examples, let’s estimate and plot the probability density function of a random variable using Matlab histogram function. Generation of random variables with required probability distribution characteristic is of paramount importance in simulating a communication system. Let’s see how we can generate a simple random variable, estimate and plot the probability density function … Read more

Cyclic prefix in OFDM — circular convolution and a Matlab hands-on demo

OFDM study path — 5 lessons (same on every page in this series) 1. Introduction → 2. Orthogonality → 3. IFFT modem → 4. Cyclic prefix (you are here) → 5. BER in AWGN Tools: OFDM CP overhead calculator · Eb/N0 ↔ SNR converter  In one sentence: A cyclic prefix tricks a natural (linear) … Read more

Construct autocorrelation Matrix in Matlab & Python

Auto-correlation, also called series correlation, is the correlation of a given sequence with itself as a function of time lag. Cross-correlation is a more generic term, which gives the correlation between two different sequences as a function of time lag. Given two sequences $latex x$ and $latex y$, the cross-correlation at times separated by lag … Read more

QAM Modulation using Karnaugh-map walks

This article focused on constructing constellation for rectangular QAM modulation using Karnaugh-map walks. Exploit inherent property of Karnaugh-maps to construct Gray coded QAM constellation points. M-ary Quadrature Amplitude Modulation (M-QAM) In MQAM modulations, the information bits are encoded as variations in the amplitude and the phase of the signal. The M-QAM modulator transmits a series … Read more