Simple implementation of [1] with small modification. Hopefully this is going to help beginners in speech/audio signal processing.
[1] X. Zhu, G. T. Beauregard and L. L. Wyse, "Real-Time Signal Estimation From Modified Short-Time Fourier Transform Magnitude Spectra", IEEE Trans. on Audio, Speech, and Language Processing, VOL. 15, NO. 5, JULY 2007
Compute the area and judge the direction of a closed curve. function area=varea(C) %VAREA compute the "sign-area" of a closed curve. % NOTE: Sign-area equals to the area of the closed curve when it is in anti-clockwise and...
Functions are described briefly below:
1) er_add: Add given tranfer functions. 2) er_blaschke: Perform desired frequency transformation of digital filter using Blaschke products. 3) er_conv: Multiply transfer functions.
This GUI provides a visualization of the electromagnetic field induced by a current flowing in a straight wire. The tool also shows the current induced by a rectangular coil that is placed inside the electromagnetic field. The current is...
To automatically convert from one units base to another, select the conversion type from the pull down menu box. Input the magnitude of the input units in the text box in the inputs section. Select the input units in the list box in the inputs...
The attached function can be used in signal processing applications to reduce the magnitude of a signal. The mean of the signal will remain the same, but the total range will be reduced.
Conversions of these routines into Matlab.From:http://pubs.usgs.gov/of/1995/ofr-95-0077/o...77.htmlAnderson, W.L, 1983, Fourier cosine and sine transforms using lagged convolutions in double-precision (Subprograms DLAGFO/DLAGF1): U.S. Geological...
This function localizes a single source from a frame of data received at the microphones. It uses the Steered Response Power with the PHAse Transform (SRP-PHAT) as the functional. The true source location will have the maximum SRP-PHAT value....
This function amplifies areas of high intensity and segments them using a front. The front is initialized on the convex hull (for speed) and erodes the map until it has converged on the edge of the areas to keep, maintaining edge geometry.
OUT = LINESEGMENTINTERSECT(XY1,XY2) generates intersection analysis between the line segment sets given in XY1 and XY2. Code can handle coincident and parallel lines.
The main emphasis is on speed. The code is fully vectorized and it...
This function is a substitute for the standard versions of quiver and quiverm available using a vanilla release of matlab. This version assumes a 2D vector field is being plotted using a gridded flow field from a numerical model. It is primarily...
Numerical solutions for the conversion of an isothermal axially dispersed plug flow reactor accomplishing first and second order reactions are obtained. The Danckwerts boundary conditions for the so-called "closed" configuration are...
This function carries out the following tasks:
1) Allows the user to select the first timestep of an SRH model output to convert, regardless of the SRH version used.
2) Automatically renames SRH files from SRH1, SRH2...SRH100...
A Simulink model that generates and displays a simple cosine wave. The model computes the cosine function using the continuous phase method, which is based on Euler's formula for the complex exponential. The cosine generator is provided as a...
Returns the order of magnitude of one or more numbers. Works on nd arrays.
Ex: order( 1.2e-5 ) will return -5 order(1) = 0 order( 1.12344e8 ) = 8
B3MSV Bidirectional Branch and Bound(B3) subset selection using the the Minimum Singular Value (MSV) as the criterion.
Consider the following subset selection problem:
Given a tall (m x n, m>n) matrix, A, to find n rows of...
Run "parrecreader.m"
This program reads the native PAR/REC files, imports them to Matlab workspace and displays them.
This is a stripped down version of code developed for MR Elastography purposes, but should be...
Following steps explain the working principle of the proposed Programmable Pulse Generator:
1. Taking the modulus of the free running simulation "Clock" with the "Period", gives a triangular wave whose frequency is...
Similar to streakarrow, streakarrow3d allows to plot 3d streamlines with variable lengths and arrow heads to look like curved vectors. The color of the vectors can be color coded with the magnitude velocity.
Estimates the noise standard deviation from an (MRI) image (2D) corrupted with Rician noise based on the skewness of the distribution. This method doesn't depend on the background for noise estimation. Can be used for MR images with and without... |