image thumbnail

updated 1 month 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 9 months ago

Show in uniformly sampled order by Mark Matusevich

Shows examples one after another in uniformly sampled order. (graphics, interactive, gui)

show_uniformly_sampled(nCases, plot_function)

image thumbnail

updated 1 year ago

PDFsampler by Pantelis Sopasakis

A simple and handy PDF (Probability Distribution Function) re-constructor and sampler. (rng, pdf, monte carlo)

PDFsampler

image thumbnail

updated 1 year ago

Many observations from arbitrary PDF by Jack Peterson

Generate many observations from an arbitrary PDF. (pdf, arbitrary, random)

randarbmulti(x,y,N)

image thumbnail

updated almost 2 years ago

Truncated multivariate normal by Tim Benham

Generates pseudo-random vectors drawn from the truncated multivariate normal distribution. (random, distribution, gaussian)

TruncatedGaussian(sigma, range, varargin)

rmvnrnd(mu,sigma,N,A,b,rhoThr,debug)

rmvnrnd_eg.m

image thumbnail

updated almost 2 years ago

Basic Signal by Simerdeep Singh

Discrete Time Signal : Unit Sample, Unit Step, Unit ramp, Exponential, cosine, sine (discrete time signal, unit sample, unit step)

basicsignal.m

image thumbnail

updated 2 years ago

N_PERMUTE_K by Matt Fig

All possible permutations of the elements of set N, taken K at a time, with repetition. (permutations, combinations, multisets)

npermutek(N,K)

image thumbnail

updated 4 years ago

samplepick by Mauro

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

samplepick(x,n,dim)

image thumbnail

updated 5 years ago

Find Clipped Trials by Matthew Nelson

Find trial indices in which "clipping" occurred for recorded analog data in a trials format (neuroscience, psychology, trials)

ClipTrs=FindClipTrs(curADMat,nConsecSampCutoff)

getchunks(a, opt)

image thumbnail

updated 7 years ago

Simulink Diagnostics Examples by Seth Popinchalk

Example models that show the use of diagnostics to improve the model. (whitepaper, article, paper)

Simulink Diagnostics Examples

diagnosticsMuxAsBusCreator

diagnosticsSolverSettings

image thumbnail

updated almost 10 years ago

Obs. from Arbitrary PDF by Dave Dykes

Generate a sample from an arbitrary PDF. (approximation, interpolation, random)

image thumbnail

updated almost 12 years ago

Cumulative Mean by Leandro Barajas

Calculates cumulative row mean of matrices. (statistics, probability, cumsum)

cummean(x,dim)

image thumbnail

updated 15 years ago

fixstep.m by Robert Schor

This M-File was designed to fix the "SampleTime" parameter of Step Blocks. (simulink, sample, time)

Contact us