Statistical measures for stochastic signals

Key focus: Discuss statistical measures for stochastic signals : mean, variance, skewness, kurtosis, histogram, scatterplot, cross-correlation and auto-correlation. Deterministic and stochastic signals A deterministic signal is exactly predictable for the given time span of interest. It could be expressed using analytic form (example: x(t) = sin (2 π fc t) ). Many of the signals … Read more

Gold code generator using LFSRs

Focus of this article is to discuss the details of Gold code generator using preferred pair m-sequences, implemented using linear feedback shift registers (LFSR). Finally we plot and investigate correlation properties of the generated Gold codes. Introduction In a multi-user environment (like spread spectrum, CDMA ) large number of codes with good correlation properties, is … 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 and , the cross-correlation at times separated by lag i is given … Read more

Walsh Hadamard Code – Matlab Simulation

The following is a function to generate a Walsh Hadamard Matrix of given codeword size. The codeword size has to be a power of 2. function [H]=generateHadamardMatrix(codeSize) %[H]=generateHadamardMatrix(codeSize); % Function to generate Walsh-Hadamard Matrix where “codeSize” is the code % length of walsh code. The first matrix gives us two codes; 00, 01. The second … Read more