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

Waterfall Spectrograph [Matlab]

Displays a waterfall graph of the spectrum of the input signal over time. Very nice looking, amazing way to visualize a signal!...

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

Interrupt.c - DSK6713 External Interruptions via GPIO [C, TI C67x]

Interruption configuration file in Assembler language can be found in the other code snippet: http://www.dsprelated.com/showcode/69.php   For great references, please visit: http://e2e.ti.com...

posted by David Valencia on Feb 2 2011
Comments (1) |

Farrow 2-D Image Interpolation [Matlab]

This snippets applies the Farrow structure to image interpolation, and has been designed for image co-registration in Synthetic aperture radar (SAR) interferometry. In co-registration, two images have...

posted by Jesus Selva on Jun 15 2011
Comments (0) |

Amplitude spectrum of 1D signal [Matlab]

This basic function should be in everyones Matlab toolbox. It plots a one sided amplitude spectrum of a 1D signal. It has functionality to plot it on semilog scale, specify color of the plot and speci...

posted by Aniket Vartak on Nov 3 2010
Comments (0) |

Farrow resampler implementation [C]

Farrow resampler implementation in C, including optional bank switching. The functionality is mainly identical to the matlab code snippet. A discussion of the optional bank switching variant (which m...

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

Digital IIR Filter Transformatin - LPF to HPF [Scilab]

Using Digital Filter Transformation, the First order Analog IIR Butterworth LPF converted into Digital Butterworth HPF...

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

Inplace matrix transposition [C++]

This C++ code intents to do inplace transposition for matrix. It is more efficient for huge matrix, and quite generic as it uses classes and templates. Feel free to use it and to modify it. Allocat...

posted by Sylvain B on Nov 3 2010
Comments (0) |

Computing Optimum Two-Stage Decimation Factors [Matlab]

Consider the decimation system in Figure 1(a). When the desired decimation factor D_total is large, say D_total > 20, very significant lowpass filter (LPF) computational savings may be had by imp...

posted by Rick Lyons on Nov 21 2011
Comments (0) |

How to speed up the sinc series [Matlab]

Though the sinc series is the key for processing signals in the discrete domain, its interpolation performance is poor due to the slow decrease rate of the sinc tails. The solution to this problem has...

posted by Jesus Selva on Dec 7 2011
Comments (0) |

Fast audio convolution [Python]

Fast convolution of an audio signal with the impulse response of a system modeled as LTI (Linear Time Invariant) one. Uses FFT to perform the convolution by multiplication in the frequency domain....

posted by HernĂ¡n Ordiales on Nov 19 2010
Comments (0) |
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | | 10 | | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |