image thumbnail

updated 5 months ago

Density Preserving Sampling (DPS) - deterministic crossvalidation by Marcin

MATLAB implementation of the DPS method, able to save computations when compared to cross-validation (crossvalidation, sampling, error estimation)

dps(A,levels,labs)

image thumbnail

updated 7 months ago

Pulse code Modulation by Aditya

PCM on a sine wave and a .wav file for demonstration of various processes done during PCM. (communications, simulation, decoder)

final_PCM.m

verify_pcm_next.m

image thumbnail

updated 1 year ago

Generate Random Numbers from a 2D Discrete Distribution by Tristan Ursell

Random numbers from any 2D discrete probability distribution, at any resolution. (discrete, distribution, generate)

[x0,y0]=pinky(Xin,Yin,dist_in,varargin)

image thumbnail

updated 1 year ago

c2ddelay by Carlos Mario Velez Sanchez

Convert from continuous with delay to discrete-time models with extra state variables (control design, sampling)

c2ddelay.m

image thumbnail

updated 1 year ago

Live audio stream analyser and voice coach by Steve Lawrence

A program that uses 'analoginput' to create a live audio stream, which is analyzed in real-time. (singing, coach, signal processing)

liveon.m

image thumbnail

updated 2 years ago

Undersampling GUI by Nikolay S.

Understand Undersampling easily with appropriate spectra plots and tables. (signal processing, sampling, spectra)

UndersamplingGUI(varargin)

image thumbnail

updated 2 years ago

Image Resize by Yan Maraden Sinaga

Another function to resize an image. (resize, scaling, enlarge)

img_out=imageresize(img_in, rowScale, colScale);

image thumbnail

updated 2 years ago

Sampling Of 2D Geometrical Object via Line Beams by Michael Chan

Illustrates coordinated sampling of a geometrical shape such as an eclipse is used in this case. (ray, plot, beam)

calculateEllipse(x, y, a, b, angle, steps)

deg2rad( inDegrees )

getPointsBetween2Points (startp,endp,pts)

image thumbnail

updated 3 years ago

Gibbs Motif Sampler by Brad Ridder

Finds motifs and the optimum width via Gibbs sampling. No toolboxes required. (motif search, montecarlo, markov)

gibbsmotifsampler(seqArray,motifVector,alphabet,Options)

image thumbnail

updated 3 years ago

samplepick by Mauro

pick a random sample out of an array (statistics, simulation, random)

samplepick(x,n,dim)

image thumbnail

updated 4 years ago

Probablistic Logic Sampling (PLS) by Guangdi Li

It is credited as 1th algorithm applying stochastic sampling to belief updating in Bayesian networks (sampling, bayesian network, simulink)

BinaryPLS_GenerateRandomData( GraphMatric,Number )

CompDecilToInt( RangeOfVar,CompDecNumber )

GenerateDAG( Node )

image thumbnail

updated 4 years ago

Dilates matrix data by Joshua Carmichael

Dilates a time series input and resizes it. (signal processing, wavelets, dsp)

[W]=dilateColumns(data,varargin)

image thumbnail

updated 4 years ago

Sampling from a discrete distribution by Dahua Lin

The function is to draw samples from an arbitrary discrete distribution. (monte carlo, sampling, simulation)

discretesample(p, n)

image thumbnail

updated 6 years ago

Sampling Example by Ivan Dario Castano Perez

Shows how sampling works (ideal sampling, sampling, natural sampling)

Chap1a(varargin)

image thumbnail

updated 8 years ago

Slice Sampling by Karthik Sridharan

Sample user defined density functions using slice sampling method. (statistics, probability, sampling)

func(x,funcname)

slicesample(funcname,siz,number)

image thumbnail

updated 8 years ago

Metropolis Hastings Sampling by Karthik Sridharan

Sample from a user defined function using metropolis hastings sampling method. (hasting, metropolis, sampling)

func(x,funcname)

hastingsample(funcname,siz,number)

image thumbnail

updated 8 years ago

Restricted sampling from Gaussian Distribution by Kanchi

Sample x from N(x_mu, x_var), restricted in x_min<=x<=x_max. (image analysis, monte carlo, sampling)

func_restricted_sampling(x_mu, x_var, x_min, x_max);

ltpnorm(z)

ltqnorm(p)

image thumbnail

updated 8 years ago

Latin Hypercube Sampling by Budiman Minasny

Latin Hypercube Sampling (cdf, sampling, lhs)

[L,D,E,pneg]=mchol(G)

[r,i]=ranking(x)

ltqnorm(p)

image thumbnail

updated almost 15 years ago

cltexp by Peter Dunn

The function cltexp supplies a sampling distribution from an exponential distribution. (statistics, probability, distribution)

cltexp(option)

Contact us