Sign in

username:

password:



Not a member?

Search code



Search tips


See Also

Embedded SystemsFPGAElectronics

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


NEW: Suggest a Snippet

Resampling by Lagrange-polynomial interpolation [Matlab]

Calculates Lagrange-resampler coefficients and resamples an example signal.A Lagrange-resampler evaluates the unique n-th order polynomial that crosses through n+1 input samples. This code snippet map...

posted by Markus Nentwig on Aug 17 2011
Comments (0) |

GSM (GMSK) power spectrum equation [Matlab]

A simple, empirical model for the power spectrum shape of a GMSK-modulated GSM signal, generated according to 3GPP TS 45.004 section 2 on a signal stream without slot structure. The picture shows t...

posted by Markus Nentwig on Sep 18 2011
Comments (0) |

Peak/Notch Filter Design [Matlab]

This function will generate the coefficients for a single IIR biquad that is a "peak/notch" design.  Wierldy enough, this filter type is not part of the standard Matlab filter design toolbox.&nbs...

posted by sparafucile17 on May 21 2011
Comments (1) |

Audio interpolation (Catmull-Rom/Cubic Hermite Spline) [Matlab]

Matlab example for Cubic Hermite Spline audio interpolation for sample-rate conversion or variable-speed playback. It is computationally efficient and audio quality is good....

posted by Markus Nentwig on Oct 24 2010
Comments (3) |

Using EMIF expansion port as digital output [C, TI C67x]

This is a simple example of how to use the EMIF expansion (labeled as Memory Expansion on the board) as a 32-bit wide parallel digital output. Here is a picture of the board: IMPORTANT DISCLAIMER:...

posted by David Valencia on Oct 27 2010
Comments (6) |

Echo Filter [Matlab]

An Audio Echo Filter is an FIR filter that repeats a sound after a given Delay attenuating the repetitions.  You may test the filter using any input signal (i.e. Matlab "splat" signal).  In ...

posted by Miguel De Jesus on Dec 1 2010
Comments (2) |

OFDM symbol generator [Matlab]

Generates OFDM symbols, modulation options include QPSK,16QAM,64QAM...

posted by kadhiem Ayob on Apr 4 2011
Comments (0) |

Auto Wah audio effect (LFO control) [C]

This auto wah effect uses a variable band pass stage as a building block and a LFO to control it. Find the variable band pass block at: http://www.dsprelated.com/showcode/176.php   Xin  ...

posted by Gabriel Rivas on Sep 24 2011
Comments (0) |

Variable 2nd order band pass IIR filter [C]

This piece of code implements a variable band pass filter in C language. It is intended to be used to create an array of coefficients sets in runtime, each set of coefficients is mapped to a center fr...

posted by Gabriel Rivas on Jul 3 2011
Comments (0) |

Computing CIC Filter Register Pruning Using Matlab [Matlab]

The following Matlab code computes the amount register bit-pruning described in Eugene's Hogenauer's famous paper on cascaded integrator-comb (CIC) decimation filters [1]. Although there are many de...

posted by Rick Lyons on Feb 15 2012
Comments (2) |
previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | next