Sign in

username or email:

password:



Not a member?
Forgot your password?

Search code



Search tips

Ads

See Also

Embedded SystemsFPGA

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

Raised-cosine window for OFDM intersymbol transitions [Matlab]

Calculates a raised-cosine window pair for OFDM windowing. Results in a smooth transition between symbols that causes less interference to adjacent frequency bands....

posted by Markus Nentwig on Oct 21 2010
Comments (0) |

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) |

integrate RMS phase error from spectrum [Matlab]

In a radio transmitter or receiver, the signal is translated in frequency by multiplication with a local-oscillator (LO) signal. Ideally, the LO signal is a pure sine wave, in reality it also contains...

posted by Markus Nentwig on Oct 21 2011
Comments (0) |

First order RC Filter in the Digital Domain [Matlab]

Here's the situation... Your boss just noticed that the hardware board for you product has this silly thing called an "analog filter" (sounds foriegn nowadays) that consists of a resistor and a capaci...

posted by on Aug 7 2011
Comments (0) |

Yet Another FIR design algorithm [Matlab]

Designs real- or complex-valued FIR filters with linear or non-linear phase that match or equalize arbitrary frequency responses. Update: Download the latest version here (uses object-oriented synta...

posted by Markus Nentwig on Aug 21 2011
Comments (3) |

Circular Buffer FIR Filter [C, TI C67x]

This FIR filter implements a circular buffer. Your own coefficients in yourfiltercoeffs.h can be created using fdatool in MATLAB. DIP1 down = Unfiltered DIP1 up = Filtered...

posted by Ron Elbaz on Apr 1 2011
Comments (0) |

Tremolo audio effect (amplitude modulation) [C]

This code has the basic functions to perform amplitude modulation or tremolo effect on audio signals according to (LFO signal) m [n]---->[+]------------>[*]---------------> y[n] (tremolo mo...

posted by Gabriel Rivas on Nov 29 2011
Comments (0) |

Fixed-point IIR Filter Code Generator for ARM [ASM, ARM]

This is a fixed-point IIR filtering routine written in ARM assembly. We also provide an online tool that takes a Matlab coefficient file as input and generates a source file, header file, and example ...

posted by Jordan Rhee on Nov 30 2010
Comments (0) |

CIC Filter Analysis script [Matlab]

A Matlab script written to aid in the design and analysis of CIC decimation filters. The script plots the frequency response of the filter, as well as the response of a matching FIR compensation filte...

posted by Tom Chatt on Oct 27 2010
Comments (2) |

u -Law and Inverse u-Law [Scilab]

The functions u-law and Inverse u law used to perform u-law compression and expansion...

posted by Senthilkumar R on Mar 24 2011
Comments (0) |
| 1 | 2 | 3 | | 5 | | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |