DSPRelated.com

Determination of the transfer function of passive networks with MATLAB Functions

Josef HoffmannJosef Hoffmann December 7, 20212 comments

Starting the calculation from the output makes deriving a passive network transfer function simple, and this post shows how to do it in MATLAB using a sixth-order low-pass example. The walkthrough uses tf('s') to build a symbolic H(s), extracts coefficients with tfdata, and shows numerical frequency-response plotting via freqs or direct j*omega evaluation, with code and component values to reproduce the results.


Sampling bandpass signals

Josef HoffmannJosef Hoffmann June 26, 20215 comments

Bandpass signals can be sampled at rates below the usual Nyquist limit, and this note shows how the band-limited spectrum appears in baseband after sampling. Using a simple example figure, it defines the center frequency fc = (fmax + fmin)/2 and bandwidth Δf = fmax - fmin, and highlights that choosing fs less than twice the signal's highest frequency violates the sampling theorem.


Simulink-Simulation of SSB demodulation

Josef HoffmannJosef Hoffmann June 13, 20211 comment

This post walks through Simulink models that implement SSB demodulation and modulation, using Richard Lyons' phasing method as a foundation. It shows practical models for simple carrier multiplication and for the phasing method with cosine and -sin paths plus Hilbert filtering, and it highlights sampling, decimation, filter choices, and delay alignment to make the techniques work in simulation.


The correct answer to the quiz of @apolin

Josef HoffmannJosef Hoffmann January 10, 2020

A compact Simulink model explains why certain DFT rows behave like negative-frequency bandpass filters, using dftmtx(8) rows as impulse responses. The demo shows that a 2 kHz tone with phase 0 or pi produces identical real parts and opposite imaginary parts, making a negative-frequency interpretation unnecessary. It also illustrates how a 6 kHz tone under 8 kHz sampling aliases to 2 kHz with opposite phase, visible in PSD plots.


Sampling bandpass signals

Josef HoffmannJosef Hoffmann June 26, 20215 comments

Bandpass signals can be sampled at rates below the usual Nyquist limit, and this note shows how the band-limited spectrum appears in baseband after sampling. Using a simple example figure, it defines the center frequency fc = (fmax + fmin)/2 and bandwidth Δf = fmax - fmin, and highlights that choosing fs less than twice the signal's highest frequency violates the sampling theorem.


Simulink-Simulation of SSB demodulation

Josef HoffmannJosef Hoffmann June 13, 20211 comment

This post walks through Simulink models that implement SSB demodulation and modulation, using Richard Lyons' phasing method as a foundation. It shows practical models for simple carrier multiplication and for the phasing method with cosine and -sin paths plus Hilbert filtering, and it highlights sampling, decimation, filter choices, and delay alignment to make the techniques work in simulation.


Determination of the transfer function of passive networks with MATLAB Functions

Josef HoffmannJosef Hoffmann December 7, 20212 comments

Starting the calculation from the output makes deriving a passive network transfer function simple, and this post shows how to do it in MATLAB using a sixth-order low-pass example. The walkthrough uses tf('s') to build a symbolic H(s), extracts coefficients with tfdata, and shows numerical frequency-response plotting via freqs or direct j*omega evaluation, with code and component values to reproduce the results.


The correct answer to the quiz of @apolin

Josef HoffmannJosef Hoffmann January 10, 2020

A compact Simulink model explains why certain DFT rows behave like negative-frequency bandpass filters, using dftmtx(8) rows as impulse responses. The demo shows that a 2 kHz tone with phase 0 or pi produces identical real parts and opposite imaginary parts, making a negative-frequency interpretation unnecessary. It also illustrates how a 6 kHz tone under 8 kHz sampling aliases to 2 kHz with opposite phase, visible in PSD plots.