Sampling
Raw MRI data are generated analytically from k-space coordinates using the (continuous) Shepp and Logan head phantom function. K -space coordinates are typically entered as 2D matrices (frequency and phase encodes).This tool is ideal for testing reconstruction of non-linear k-space trajectory MRI...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): mriphantom Download |
W = mywigner(Ex)W = output Wigner distributionEx = Input electric field (MUST be a column vectorNotes:W = Int(-inf..inf){E(x+y)E(x-y)exp[2ixy]}E(x+y) & E(x-y) are calculated via a FFT (fast Fourier transform) using theshift theorem. The integration is performed via a FFT. Thus it is important for...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Calculate Wigner distribution Download |
Standard GLCM textural analysis often doesn't give good results unless a large number of global classes are used (and using a large number of classes brings other problems). Using local classes helps, but the results are sensitive to noise. This program uses unweighted area sampling to vastly...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Anti-aliased GLCM textural analysis Download |
An affine (or first-order) optic flow model has 6 parameters, describing image translation, dilation, rotation and shear. The class affine_flow provides methods to estimates these parameters for two frames of an image sequence.The class implements a least-squares fit of the parameters to...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 501.76 KB | Download (44): Affine optic flow Download |
MOTIFINFO = GIBBSMOTIFSAMPLER(SEQARRAY,MOTIFVECTOR,ALPHABET,OPTIONS) Searches for the motifs in a set of sequences via Gibbs sampling. seqArray is a cell vector of sequence strings. motifVector is a vector of uniformly-spaced motif widths you wish to optimize. The program iterates over these...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): Gibbs Motif Sampler Download |
This code reads EEG data of specified length from a specified 'bdf' file. It is easier to use than traditional bdf readers and does not output some unnecessary (from author's point of view) information, such as sampling frequency for EACH EEG channel. All EEG channels are assumed as sampled at...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): EEG bdf reader Download |
In geomatic projects, it is often required to generate a regular grid containing points at pre determined intervals. Such grids could be used as a reference to georectify toposheets.This script when run asks for the bounding box of the study area in latitude and longitude, the sampling density or...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): Interpolation of Latitude and Longitude within specified bounding box Download |
Perform Calibrated Spectral Analysis. Use mic_calilb to calculate the calibration factor. Multiply the time records by the calibration factor and process the time records with pressure _spectra. pressure_spectra is the main program and allows the user to input the bin_size, number of averages,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 40.96 KB | Download (43): Calibrated Spectral Analysis Download |
SAMPLEDIST Sample from an arbitrary distribution sampleDist(f,M,N,b) retruns an array of size X of random values sampled from the distribution defined by the probability density function referred to by handle f, over the range b = [min, max]. M is the threshold value for the proposal...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Simple Rejection Sampling Download |
GammaTone Auditory Filter KitREAD FIRST: All filter coefficient derivation and filter application is the work of Slaney (1993) and can be found in the freely available document d-deDUAn Efficient Implementation of the Patterson-Holdsworth Auditory Filter Bankd-deDt included in this .zip as...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 184.32 KB | Download (49): GammaTone Tool Kit Download |
Orthogonal matching Pursuit (OMP) and Compressive Sampling Matched Pursuit (CoSaMP) algorithm (see Needell and Tropp's 2008 paper http://arxiv.org/abs/0803.2392 ). This implementation allows several variants, and it also allows you to specify a matrix via function handles (useful if your matrix...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): CoSaMP and OMP for sparse recovery Download |
Keyboard-controlled interactive power spectrum demonstrator, useful for teaching and learning about the power spectra of different types of signals and the effect of signal duration and sampling rate. Single keystrokes allow you to select the type of signal (12 different signals included), the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): iPower: Interactive Power Spectrum Demonstrator Download |
A complete application written in C and assembly language to show how changing the sampling rate can be used to improve the sharpness of cut-offs of FIR filters. Shows effects of anti-aliasing and anti-imaging filters. Frequency response curves are provided using MATLAB and in Word format. May be...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 952.32 KB | Download (48): Multirate Processing using the Texas Instruments TMS320C5416 DSK Download |
A Monte-Carlo simulation meant to calculate the position of micronsized particles in an optical trap (seen as an harmonic potential). It returns the position in meters. Bead radius, corner frequency/ trapping stiffness, sampling frequency and number of sampled points can be varied. It is small...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): BeadFluct Download |
main executing reference usage: usage_SamplingOf2D_GeometricalObject_viaLineBeams.m---------------------------------------------------------------------------------For illustrative purposes the gridded plot is sampled by detection of line beam intersections of the edge and in-bound regions of the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 307.2 KB | Download (44): Sampling Of 2D Geometrical Object via Line Beams Download |
Derive coefficients for a peaking filter with a given amplitude and bandwidth. All coefficients are calculated as described in Zolzer'sDAFX book (p. 50 - 55). This algorithm assumes a constant Q-termis used through the equation.Usage: [B,A] = peaking(G, Fc, Q, Fs); G is the logrithmic gain (in...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): Peaking / Notch IIR Filter Download |
Hear me hum the G major (offkey!) and use pitchwatch to view the pitch keys displayed from the lowest key A0 to the highest key C8. Check out the link at http://www.bookrags.com/wiki/Piano_key_frequencies for more information about pitch keys. By the way, G major is a major scale based on G,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 92.16 KB | Download (39): PitchWatch Download |
function [optW, C, W] = sskernel(x,W,str)% [optW, C, W] = sskernel(x,W,str)%% Function `sskernel' returns an optimal bandwidth (standard deviation)% of the Gauss density function used in kernel density estimation.% Optimization principle is to minimize expected L2 loss function between% the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (52): Kernel Bandwidth Optimization Download |
Particle filter resampling Author: Jose Luis Blanco Web: http://www.isa.uma.es/jlblanco-------------------------------------------This MATLAB toolkit contains functions and scripts demonstrating four different approaches to resampling:- Multinomial- Residual- Stratified- Systematic (universal...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 71.68 KB | Download (43): Resampling methods for particle filtering Download |
acfplot calls autocov() to compute an extimate of the autocorrelation function (acf) of the input vector Y, and then plots the acf with the time axis labeled in units of either seconds or ms. Note: This function does not use the Statistics Toolbox.Syntax:acf= acfplot(Y, Fs, maxlag, titlestr)Y is...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): acfplot.m Download |