DSPRelated.com
Free PDFs
Filtered by topic: FFT/Spectral Analysis [clear filter]
Decimation and Interpolation with
IFIR Filters

Decimation and Interpolation with IFIR Filters

Josef Hoffmann
Still RelevantIntermediate

In this article, the principle of the IFIR filter is first explained and accompanied by simulation. It also shows how to use the IFIR filters efficiently in the process of decimation and interpolation. Here, too, simulations with Simulink are used to explain the subject in an understandable manner.


Zero-Order-Hold function as a model for
DAConverters

Zero-Order-Hold function as a model for DAConverters

Josef Hoffmann
Still RelevantAdvanced

The output of a digital to analog converter, short DAC, is a constant analog signal between two discrete samples. The DAC's output register retains its value from one sample up to the next sample. The network, which converts the binary value of the register into an analog voltage thus supplies a constant voltage and that leads to a stepped output signal. The analog smoothing filter connected at the output together with the frequency response of the DAC, modeled with a Zero-Order-Hold function, results in distortions. These are examined here and solutions to compensate for them are presented.


A Simplified Matlab Function for Power Spectral Density

A Simplified Matlab Function for Power Spectral Density

Neil Robertson
Still RelevantIntermediate

In an earlier post, I showed how to compute power spectral density (PSD) of a discrete-time signal using the Matlab function pwelch.  Pwelch is a useful function because it gives the correct output, and it has the option to average multiple Discrete Fourier Transforms (DFTs).  However, a typical function call has five arguments, and it can be hard to remember how to set them all and how they default.

In this post, I create a simplified PSD function by putting a wrapper on pwelch that sets some parameters and converts the output units from W/Hz to dBW/bin.  The function is named psd_simple.m, and its code is listed in the appendix.


Digital Filtering in the Frequency Domain

Digital Filtering in the Frequency Domain

Andreas Schwarzinger
TimelessIntermediate

Time domain digital filtering, whether implemented using FIR or IIR techniques, has been very well documented in literature and been thoroughly used in many base band processor designs. However, with the advent of software defined radios as well as CPU support in more recent baseband processors, it has become possible and often desirable to filter signals in software rather than digital hardware. Whereas, time domain digital filtering can certainly be implemented in software as well, it becomes highly inefficient as the number of filter taps grows. Frequency domain filtering, using FFT and IFFT operations, is significantly more efficient and surprisingly easy to understand. This document introduces the reader to frequency domain filtering both in theory and in practice via a MatLab script.


The DFT of Finite-Length Time-Reversed Sequences

The DFT of Finite-Length Time-Reversed Sequences

Rick Lyons
TimelessAdvanced

Recently I've been reading papers on underwater acoustic communications systems and this caused me to investigate the frequency-domain effects of time-reversal of time-domain sequences. I created this article because there is so little coverage of this topic in the literature of DSP.


Model Signal Impairments at Complex Baseband

Model Signal Impairments at Complex Baseband

Neil Robertson
Still RelevantIntermediate

In this article, we develop complex-baseband models for several signal impairments: interfering carrier, multipath, phase noise, and Gaussian noise. To provide concrete examples, we'll apply the impairments to a QAM system. The impairment models are Matlab functions that each use at most seven lines of code. Although our example system is QAM, the models can be used for any complex-baseband signal.


Update To: A Wide-Notch Comb Filter

Update To: A Wide-Notch Comb Filter

Rick Lyons
Still RelevantIntermediate

This article presents alternatives to the wide-notch comb filter described in Reference [1].


A Wide-Notch Comb Filter

A Wide-Notch Comb Filter

Rick Lyons
TimelessIntermediate

This article describes a linear-phase comb filter having wider stopband notches than a traditional comb filter.


The Risk In Using Frequency Domain Curves To Evaluate Digital Integrator Performance

The Risk In Using Frequency Domain Curves To Evaluate Digital Integrator Performance

Rick Lyons
TimelessAdvanced

This article shows the danger in evaluating the performance of a digital integration network based solely on its frequency response curve. If you plan on implementing a digital integrator in your signal processing work I recommend you continue reading this article.


Use Matlab Function pwelch to Find Power Spectral Density - or Do It Yourself

Use Matlab Function pwelch to Find Power Spectral Density - or Do It Yourself

Neil Robertson
Still RelevantIntermediate

In this article, I'll present some examples to show how to use pwelch. You can also "do it yourself", i.e. compute spectra using the Matlab fft or other fft function. As examples, the appendix provides two demonstration mfiles; one computes the spectrum without DFT averaging, and the other computes the spectrum with DFT averaging.