Not a member?

# DSP Code Sharing - Code Snippets - Code Examples

If you would you like to share a piece of DSP related code with the community, please click here.

By Programming Language:
All LanguagesASM | Bluespec SystemVerilog (BSV) | C | C++ | Matlab | Mixed C and ASM | Octave | Python | Scilab

By Processor:
All ProcessorsARM | FPGA/ASIC (RTL) | Freescale DSP56F8xx | SHARC | TI C64x | TI C67x | TI F28x

Sorted by:
Most Popular First | Highest Rated First | Most Recent First

# Adaptive IIR filter using fixed point integer arithmetic [C]

IIR low pass filters are simple to implement and require minimal data storage. However floating point IIR filter arithmetic is expensive to compute on microcontrollers without FPU units.  Additi...

posted by on Mar 23 2013

# Beat Notes [Matlab]

The following Matlab code enables you to generate, and listen to, the sum of two audio tones.  Read this blog post for more details. ...

posted by Rick Lyons on Mar 13 2013

# Computing the Nth Roots of a Number [Matlab]

In Matlab when we want to compute the square root of a number we use the 'sqrt()' command. For example, if z = 9 we find the square root of z by typing the        ...

posted by Rick Lyons on Jan 9 2013

# Delay estimation revisited [Matlab]

Estimates delay and scaling factor between two signals by iteration ( Code snippet: ) Introduction Quite many DSP-related tasks involve an unknown time delay between signals that needs to be estimat...

posted by Markus Nentwig on Jun 9 2012

# Power spectra of MPSK [Scilab]

This function is used to plot and compare power spectra of different M-ary PSK schemes....

posted by Senthilkumar R on Mar 28 2012

# Power spectra of MSK & QPSk [Scilab]

This is used to plot and compare the power spectra of M-ary signaling scheme and QPSK....

posted by Senthilkumar R on Mar 28 2012

# Power Spectrum of Discrete PAM signals [Scilab]

This function is used to plot and compare the power spectra of different discrete PAM signlas such as: NRZ polar, NRZ Bipolar, NRZ Unipolar, Manchester format etc....

posted by Senthilkumar R on Mar 28 2012

# Raised Cosine Spectrum [Scilab]

This function is used to generate raised cosine spectrum for three different roll-off factors....

posted by Senthilkumar R on Mar 28 2012

# Modified Duobinary Signaling-Spectrum [Scilab]

This function is used to plot the modified duobinary signaling scheme amplitude and phase spectrum....

posted by Senthilkumar R on Mar 28 2012