heterodyne

Shift a signal in frequency using heterodyning, with appropriate filtering
81 Downloads
Updated 23 May 2022

View License

Given a signal x, its sample rate sRate, and passband of a two-element vector [loFreq highFreq], transform the signal by shifting the passband in frequency down to 0 Hz and removing the signal at other frequencies. This is done by (1) filtering the signal to remove energy outside the passband, (2) heterodyning to frequency-shift the passband down to 0 Hz (the 'difference frequencies'), and (3) filtering again to remove the second copy of the signal that heterodyning creates (the 'sum frequencies').

Cite As

David Mellinger (2026). heterodyne (https://www.mathworks.com/matlabcentral/fileexchange/112100-heterodyne), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0