Bit Error Rate (BER) for frequency shift keying with coherent demodulation
Following the request by Siti Naimah, this post discuss the bit error probability for coherent demodulation of binary Frequency Shift Keying (BFSK) along with a small Matlab code snippet. Using the definition provided in Sec 4.4.4 of [DIG-COMM-SKLAR]), in binary Frequency shift keying (BFSK), the bits 0’s and 1’s are represented by signals and having…
Scaling factor in QAM
When QAM (Quadrature Amplitude Modulation) is used, typically one may find a scaling factor associated with the constellation mapping operation. It may be reasonably obvious that this scaling factor is for normalizing the average energy to one. This post attempts to compute the average energy of the 16-QAM, 64-QAM and M-QAM constellation (where is a…
First order digital PLL for tracking constant phase offset
Considering a typical scenario where there might exist a small phase offset between local oscillator between the transmitter and receiver. Figure 1 : Transmitter receiver with constant phase offset In such cases, it might be desirable to estimate and track the phase offset such that the performance of the receiver does not degrade.
Transmit spectrum with phase noise
The earlier posts on phase noise discussed about phase noise in oscillators, conversion of phase noise profile to jitter and the impact of phase noise on the error vector magnitude (evm). This post discuss the impact of phase noise on the spectrum of the transmit waveform. A simple random QPSK modulated symbols, oversampled and passed…
Deriving PDF of Rayleigh random variable
In the post on Rayleigh channel model, we stated that a circularly symmetric random variable is of the form , where real and imaginary parts are zero mean independent and identically distributed (iid) Gaussian random variables. The magnitude which has the probability density, is called a Rayleigh random variable. Further, the phase is uniformly distributed from…
Chi Square Random Variable
While trying to derive the theoretical bit error rate (BER) for BPSK modulation in a Rayleigh fading channel, I realized that I need to discuss chi square random variable prior. What is chi-square random variable? Let there be independent and identically distributed Gaussian random variables with mean and variance and we form a new random…
Straight line fit using least squares estimate
Two points suffice for drawing a straight line. However we may be presented with a set of data points (more than two?) presumably forming a straight line. How can one use the available set of data points to draw a straight line? A probable approach is to draw a straight line which hopefully minimizes the…
Milestone 1000+ subscribers 1100+ comments
Those who are regular visitors to dsplog.com might have noticed the small FeedBurner chicklet on the side showing subscriber count showing 1000+ subscribers. Its a nice milestone to reach, one that looked so distant when I wrote the first post stating the objective of this blog on 26th February 2007. We now have around 86…
Summary – feedback on [dspLog], July 2008
On July30th, 2008 I had sent a request for feedback to 93 subscribers who have opted to receive articles over email. As on 3rd August, I received the response from around 8 persons. Not bad, around 8.5% response. Thanks a lot for the feedback. I will summarize the response from the group and note down…
Weighted Least Squares and locally weighted linear regression
From the post on Closed Form Solution for Linear regression, we computed the parameter vector which minimizes the square of the error between the predicted value and the actual output for all values in the training set. In that model all the values in the training set is given equal importance. Let us consider the case where it is known…
Stochastic Gradient Descent
For curve fitting using linear regression, there exists a minor variant of Batch Gradient Descent algorithm, called Stochastic Gradient Descent. In the Batch Gradient Descent, the parameter vector is updated as, . (loop over all elements of training set in one iteration) For Stochastic Gradient Descent, the vector gets updated as, at each iteration the…
Harmonic distortion in digital sinusoidal generators
In Problem 4.36 of DSP-Proakis [1], the task is to provide insights into harmonic distortion which may be present in practical sinusoidal generators. Consider the signal , where . My take: The discrete time signal of fundamental period can consist of frequency components separated by radians or cycles (Refer Section4.2 in [1]). The Fourier series…
Gray code to Binary conversion for PSK and PAM
Given that we have discussed Binary to Gray code conversion, let us discuss the Gray to BInary conversion. Conversion from Gray code to natural Binary Let be the equivalent Gray code for an bit binary number with representing the index of the bit. 1. For , i.e, the most significant bit (MSB) of the Gray…