Bernoulli random variable

Bernoulli random variable is a discrete random variable with two outcomes – success and failure, with probabilities p and (1-p). It is a good model for binary data generators and also for modeling bit error patterns in the received binary data when a communication channel introduces random errors. To generate a Bernoulli random variable X, … Read more

Model a Frequency Selective Multipath Fading channel

Multipath & PDP (same on every page in this path) 1. Power delay profile → 2. Scattering function → 3. TDL modeling (you are here) Tools: PDP demo · 3GPP TDL A brief intro to modeling a frequency selective fading channel using tapped delay line (TDL) filters. Rayleigh & Rician frequency-selective fading channel models explained. … Read more

Histogram to PDF in Matlab — normalize bins and overlay the theoretical curve

Turn a Matlab histogram into an estimated PDF: normalize by sample count and bin width, then overlay normpdf / theoretical densities for Gaussian, Rayleigh, and exponential checks.

Autocorrelation matrix in Matlab & Python — build R for Wiener / MVDR

Build the autocorrelation (covariance) matrix R from snapshots in Matlab or NumPy — including complex conjugate correlation — for Wiener, LMS, and MVDR beamformers.

Generate multiple sequences of correlated random variables

In the previous post, a method for generating two sequences of correlated random variables was discussed. Generation of multiple sequences of correlated random variables, given a correlation matrix is discussed here. Correlation Matrix Correlation matrix defines correlation among N variables. It is a symmetric $latex N \times N $ matrix with the $latex (ij)^{th} $ … Read more

Generate two correlated random sequences

This article discusses the method of generating two correlated random sequences using Matlab. If you are looking for the method on generating multiple sequences of correlated random numbers, I urge you to go here. Generating two vectors of correlated random numbers, given the correlation coefficient $latex \rho $, is implemented in two steps. The first … Read more

Uniform random variable

Uniform random variables are used to model scenarios where the expected outcomes are equi-probable. For example, in a communication system design, the set of all possible source symbols are considered equally probable and therefore modeled as a uniform random variable. The uniform distribution is the underlying distribution for an uniform random variable. A continuous uniform … Read more