Sign in

username:

password:



Not a member?

Search code



Search tips

Sponsor

Industry's highest performing at the lowest power DSPs now as low as $5.00*
Start development today!
*volume pricing for 10ku

See Also

Embedded SystemsFPGAElectronics

Matlab Code, Examples, Snippets

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

Computing FFT Twiddle Factors [Matlab]

This text, figures, and code snippet are also available in downloadable PDF format Typical applications of an N-point radix-2 FFT accept N x(n) input time samples and compute N X(m) frequency-domai...

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

Shelving Filter Design [Matlab]

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

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

Generate ideal QPSK..64QAM symbol error rates (reference result) [Matlab]

Calculates the symbol error rate of QPSK/16QAM/64QAM/256QAM/1024QAM modulation for additive white Gaussian noise Output: ...

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

Fitting Filters to Measured Amplitude Response Data Using invfreqz in Matlab [Matlab]

In the 1980s I wrote the matlab function invfreqz that implements a fast (FFT-based) equation-error method for recursive filter design given samples of the desired frequency response. This method des...

posted by Julius Orion Smith III on Nov 8 2010
Comments (4) |

Equal Loudness Curves (ISO226) [Matlab]

What is loudness?  No, it is not the setting of your volume knob.  In audio processing, loudness refers to a family of curves that generally describes how the the human ear perceives how "lo...

posted by sparafucile17 on Jun 21 2011
Comments (0) |

Spectrum analyzer [Matlab]

Determines the power spectrum, similar to a hardware measurement instrument The function takes an input signal and gives the two-sided power spectrum. Results are similar to what is obtained using a ...

posted by Markus Nentwig on Dec 10 2011
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) |

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) |
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | next