Zero-order hold and first-order hold based interpolation

In problem 9.14 of DSP-Proakis, the objective is to analyze the effect of zero-order interpolation and first-order interpolation to double the number of samples in the sinusoidal

while keeping the sampling frequency unchanged.

My take:

The first part of the problem (a) is to generate the sequence having half the frequency of . For zero-order interpolation, the interpolated samples can be generated by holding the current sample till the new sampling instant (Ref: Section 9.3.1 -Sample and Hold [1]). The impulse response of such a system is a rectangular function.

Continue reading “Zero-order hold and first-order hold based interpolation”

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 coefficient at frequency is,
.

The total power of the signal over a period is same as the sum of the power of all the Fourier series coefficients (harmonic components) i.e.
.

Continue reading “Harmonic distortion in digital sinusoidal generators”