image thumbnail

updated 12 days ago

Latinized Stratified Sampling by Michael Shields

Generates random samples that are simultaneously stratified and Latin hypercube (probability, random, simulation)

LSS(nStrata)

LSS_Demo.m

image thumbnail

updated 26 days ago

Refined Stratified Sampling by Michael Shields

Refine Stratified Sampling (RSS) for sequential Monte Carlo sampling (statistics, simulation, probability)

RSS(xnodes_in,x_in)

Rosenbrock(x)

RSS_test.m

image thumbnail

updated 1 month ago

2D Tracking Kalman Filter by Sam Nazari

A 2D Kalman Filter is designed to track a moving target. (kalman filter, signal processing, filtering)

image thumbnail

updated 1 month ago

The Random Rooster by Sebastian Endrikat

Plays random sounds at random times (random, occasional, rooster)

RandomRooster.m

RandomRooster_oldMatlab.m

RoosterSettings.m

image thumbnail

updated 1 month ago

CSO by Xian-Bing Meng

This is a new bio-inspired algorithm: Chicken Swarm Optimization, proposed by Xian-Bing (2014) (code, algorithm, optimization)

CSO( FitFunc, M, pop, dim, G, rPercent, hPercent, mPercent )

image thumbnail

updated 1 month ago

Random Walk Using Monte-Carlo Randomized Algorithm by Vadim Smolyakov

Self-Avoiding Random Walk Using Monte-Carlo Randomized Algorithm (machine learning, random, algorithm)

random_walk.m

image thumbnail

updated 1 month ago

Novel Bat Algorithm (NBA) by Xian-Bing Meng

This is a metaheuristic algorithm: Novel Bat Algorithm (NBA), proposed by Xian-Bing (2015) (algorithm, optimization, random)

NBA.m

image thumbnail

updated 1 month ago

Geant4-Muon energy and angular histogram generation by Stylianos Chatzidakis

Generate muon energy and angular user defined histograms for use with Geant4 macro files. (simulation, physics, modeling)

Geant4_Muon_histogram_generation_v1.m

image thumbnail

updated 1 month ago

Bird Swarm Algorithm (BSA) by Xian-Bing Meng

This is a new bio-inspired algorithm: Bird Swarm Algorithm, proposed by Xian-Bing (2015) (algorithm, random, optimization)

BSA( FitFunc, M, pop, dim, FQ, c1, c2, a1, a2 )

image thumbnail

updated 1 month ago

Muon generator by Stylianos Chatzidakis

Generate random samples of cosmic ray muons at sea level (statistics, simulation, physics)

Muon_generator_v2.m

image thumbnail

updated 1 month ago

RandomPhotonWalk(Nsteps,mua) by Justin Spinner

Monte Carlo Simulation of photon propagating in 3-D space (photon, random walk, random)

RandomPhotonWalk(Nsteps,mua)

image thumbnail

updated 1 month ago

Continuous sampling in an interval: linearly, randomly and from the simplex by Simone

Simone (view profile)

Linearly and randomly sampling points in simplex. (sampling, random, uniform)

samplePoints(lo, hi, N, useSimplex, linearly)

image thumbnail

updated 3 months ago

archimekai/matlabarraygen by Kai Wen

Kai Wen (view profile)

generate an array that has a specified geometric mean, randomly (random)

image thumbnail

updated 3 months ago

Random walk (with animated graph) by Yussef Rikli

Random walk of particles and calculation of their dispersion coefficient (random, walk, animated)

HW1Q1.m

HW1Q2.m

image thumbnail

updated 4 months ago

MyBernoulli( nP ) by Silvano Bertoldo

Function to generate a Bernoulli random variable. (probability, bernoulli, random)

MyBernoulli( nP )

image thumbnail

updated 5 months ago

MJPEG Scrambler Key Generator by steed huang

This m-file shows the spectrum of key used in MJPEG encryption for Blackberry App. (image processing, probability, wireless)

FFd8pwdV1.m

image thumbnail

updated 5 months ago

Matrix&Arrays by Juan Gonzalez

Overview of Matrix & Arrays (random)

cOperacionesMatricesVectores13.m

image thumbnail

updated 5 months ago

randFixedLinearCombination by John D'Errico

John D'Errico (view profile)

Uniform random samples over a n-dimensional hyper-rectangle, subject to a linear equality constraint (random variable, uniform, random)

randFixedLinearCombination(n,rhs,linearCombination,lb,ub)

image thumbnail

updated 7 months ago

BinaryMatrixUniformRnd.m by Matthew Harrison

approximate uniform generation of binary matrices with specified margins (statistics, monte carlo, bipartite graph)

BinaryMatrixUniformRnd(SampN,rN,cN,BN,tflagN,oflagN,pflag...

BinaryMatrixUniformRndC.m

image thumbnail

updated 8 months ago

Create new image from image tiles by Eydrian

Eydrian (view profile)

Create tiles of an image and creates a new image with random position of the images (image processing, random, research)

randomTiles.m

image thumbnail

updated 9 months ago

Regression with Gradient Descent by Shujaat Khan

Shujaat Khan (view profile)

Regression with Gradient Descent; A coefficient finding technique for the desired system model (regression, descent gradient, machine learning)

Arbitary.m

Exp_Pred.m

Linear_Pred.m

image thumbnail

updated 9 months ago

Random Data Classification by Etienne Combrisson

Create and classify random data sets (signal processing, classification, random)

ClassifyLDA(x,y,cross_type,cross_nb,rep)

StatTh(y,alpham)

StatThInv(y,DA)

image thumbnail

updated 9 months ago

Monte Carlo simulation example using MATLAB (with comments) by Raza88

Raza88 (view profile)

A simple Monte Carlo simulation example with detailed comments (simulation, random, monte carlo)

MonteCarlo_CNTower.m

image thumbnail

updated 10 months ago

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

Tristan Ursell (view profile)

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 12 months ago

Linear congruential random number generator by Michael Chan

Michael Chan (view profile)

Demonstrate the principal idea of getting random bits (random, statistics)

bin2decForBigInt( longBits )

checkBitsPercentages ( binBits )

dec2binForBigInt ( bigInt )

image thumbnail

updated 1 year ago

Create strong passwords by Alan Jennings

Alan Jennings (view profile)

Creates passwords with customizable character limits also allowing for limited character sets (password, security, random)

CreatePassword_Demo

Password=CreatePassword(N,N_c,N_C,N_n,N_s,List_s)

image thumbnail

updated 1 year ago

Phase-Shift Keying by Aniket Mitra

This code does the PSK modulation and demodulation of a randomly generated bit pattern (random, digital communicatio, modulation)

psk.m

image thumbnail

updated 1 year ago

TrueRNG Hardware Random Number Generator Interface / Driver by Matt

Matt (view profile)

Matlab interface to the TrueRNG Hardware Random Number Generator sold by ubld.it (true random number ge..., statistics, probability)

truerng(varargin)

image thumbnail

updated 1 year ago

Random Cropped Image Generator by Soumyabrata Dev

This script helps in the generation of cropped image with random offset and random orientation. (cropped image, random, offset)

random_square_grab(InputImage, SizeGrabImage)

image thumbnail

updated 1 year ago

Latin Hypercube by Nassim Khaled

Nassim Khaled (view profile)

lhsdesign_modified generates latin hypercube samples (latin, hypercube, doe)

[X_scaled,X_normalized]=lhsdesign_modified(n,min_ranges_p...

image thumbnail

updated 1 year ago

Quasi Brownian Motion by lindo Ouseph

particle in a box interacting with the walls only (brownian motion, random walk, random)

QuasiBrownianMotion

image thumbnail

updated 1 year ago

Random Integer Generator by Edward Zechmann

This program quickly outputs n random integers in the specified range from a to b. (random, random integer, integer)

[ndraw, count, count2, error]=rand_int(a, b, n, sorted, n...

image thumbnail

updated 1 year ago

Random Signal generation by Chethan C U

A compilation of random signal generation scripts that can be used for Testing various algorithms (random, testing, model based testing)

GenRandomSignal(AMP,FREQ,BIAS,EndTime,dt)

output=SignalNoise(InSignal,noise_control,noise_duration)

s=BoolNoise(a,noise_factor,width_factor)

image thumbnail

updated almost 2 years ago

Tests against the null hyptothesis of whiteness by Hanan Shteingart

Tests whether a given signal is white (delta function in autocorrelation) (whiteness, random, noise)

white_test(x, maxlag, alpha)

image thumbnail

updated 2 years 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 2 years 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 2 years ago

video from random points by Maxim Vedenyov

Maxim Vedenyov (view profile)

probability controled by frames of video (rejection sampling, video, random)

from_gif.m

from_gif_to_avi.m

from_gif_to_gif.m

image thumbnail

updated 2 years ago

randomfacegenerator by Joseph Hollmann

Function creates random cartoon faces. (fun, silly, random)

randomfacegenerator;

image thumbnail

updated 2 years ago

Truncated multivariate normal by Tim Benham

Tim Benham (view profile)

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 3 years ago

Generates test sample(audio) by Chandra

Chandra (view profile)

Generates test samples by randomly combining a known set of test data. (utility, test, random)

generateTestData(data_loc,n,len,save,r)

image thumbnail

updated almost 3 years ago

Random Search Algorithm by Reza Ahmadzadeh

Random search belongs to the fields of Stochastic Optimization and Global Optimization. (optimization, random, search)

RSA.m

RSA_visual.m

image thumbnail

updated almost 3 years ago

Random String Utility by Dan Couture

Generate a random string. Specify length and type of characters. (random, string)

random_string(length, type)

image thumbnail

updated 3 years ago

Random Numbers from a Discrete Distribution by Tristan Ursell

Tristan Ursell (view profile)

Simple algorithm to generate random numbers from a user-defined discrete probability distribution. (random, number, variable)

gendist(P,N,M,varargin)

image thumbnail

updated 3 years ago

Random Weighted Selection by Adam Gripton

Randomly pick n from m>=n elements, biased with given linear weights without replacement. (random, weighted, selection)

Y=randweightedpick(h,n)

image thumbnail

updated 3 years ago

Gaussian-normally distributed random data by Nassim Khaled

Nassim Khaled (view profile)

it helps the user generate a normally distributed random set of data and then fit a Gaussian curve (gaussian, random, normal)

[mu,s,n,Data]=normrnd_normfit(MU,SIGMA,Length_Data,nb_bins)

image thumbnail

updated 3 years ago

Uniform distribution over a convex polytope by Tim Benham

Tim Benham (view profile)

Samples uniformly the interior of a convex polytope. (polytope, random, uniform)

chebycenter(A,b)

cprnd(N,A,b,options)

image thumbnail

updated almost 4 years ago

Triangular Distribution Tranformation - trirnd by Marc Stettler

trirnd computes a set of triangularly distributed random variables given input numbers in [0,1]. (simulation, statistics, mathematics)

trirnd(trimin,trimax,trimode,rvs)

image thumbnail

updated 4 years ago

fftnoise - generate noise with a specified power spectrum by Aslak Grinsted

Aslak Grinsted (view profile)

Useful helper function for Monte Carlo null-hypothesis tests and confidence interval estimation. (surrogate, noise, random)

noise=fftnoise(f,Nseries)

image thumbnail

updated 4 years ago

rand_extended computes a random number in the interval [a,b] by Nassim Khaled

Nassim Khaled (view profile)

rand_extended computes a random number in the interval [a,b] (random, rand, normal)

M=rand_extended(a,b,n,m)

image thumbnail

updated 4 years ago

Generation Of Solid Shapes Using Random Number Generator by Nishant Gupta

Generation Of Solid Shapes Using Random Number Generator. (rand, random, random number generat...)

Pfrustumfromrand.m

conefromrand.m

cuboidfromrand.m

Contact us