image thumbnail

updated 24 days ago

BinaryMatrixUniformRnd.m by Matthew Harrison

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 1 month ago

Create new image from image tiles by Eydrian

Eydrian

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

Regression with Gradient Descent by Shujaat Khan

Shujaat Khan

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

Random Data Classification by Etienne Combrisson

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

Monte Carlo simulation example using MATLAB (with comments) by Reza Rahemi

Reza Rahemi

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

MonteCarlo_CNTower.m

image thumbnail

updated 3 months ago

Chicken Swarm Optimization Algorithm (demo) by Xian-Bing Meng

Xian-Bing Meng

This is a new bio-inspired algorithm Chicken Swarm Optimization, proposed by Xian-bing(2014) (mathematics, optimization, matlab)

CSO.m

image thumbnail

updated 4 months ago

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

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

Linear congruential random number generator by Michael Chan

Michael Chan

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

bin2decForBigInt( longBits )

checkBitsPercentages ( binBits )

dec2binForBigInt ( bigInt )

image thumbnail

updated 6 months ago

Create strong passwords by Alan Jennings

Alan Jennings

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

Phase-Shift Keying by Aniket Mitra

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

TrueRNG Hardware Random Number Generator Interface / Driver by Matt

Matt

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

truerng(varargin)

image thumbnail

updated 11 months ago

Random Cropped Image Generator by Soumyabrata Dev

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

Latin Hypercube by Nassim Khaled

Nassim Khaled

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

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

image thumbnail

updated 12 months ago

Quasi Brownian Motion by lindo Ouseph

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

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

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 1 year ago

Tests against the null hyptothesis of whiteness by Hanan Shteingart

Hanan Shteingart

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

white_test(x, maxlag, alpha)

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

Many observations from arbitrary PDF by Jack Peterson

Jack Peterson

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

randarbmulti(x,y,N)

image thumbnail

updated almost 2 years ago

video from random points by Maxim Vedenyov

Maxim Vedenyov

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

randomfacegenerator by Joseph Hollmann

Joseph Hollmann

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

randomfacegenerator;

image thumbnail

updated almost 2 years ago

Truncated multivariate normal by Tim Benham

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

Generates test sample(audio) by Chandra

Chandra

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

Random Search Algorithm by Reza Ahmadzadeh

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

Random String Utility by Dan Couture

Dan Couture

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

random_string(length, type)

image thumbnail

updated almost 3 years ago

Random Numbers from a Discrete Distribution by Tristan Ursell

Tristan Ursell

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

gendist(P,N,M,varargin)

image thumbnail

updated almost 3 years ago

Random Weighted Selection by Adam Gripton

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

Gaussian-normally distributed random data by Nassim Khaled

Nassim Khaled

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

Uniform distribution over a convex polytope by Tim Benham

Tim Benham

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

chebycenter(A,b)

cprnd(N,A,b,options)

image thumbnail

updated 3 years ago

Triangular Distribution Tranformation - trirnd by Marc Stettler

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

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

Aslak Grinsted

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

noise=fftnoise(f,Nseries)

image thumbnail

updated 3 years ago

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

Nassim Khaled

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

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

image thumbnail

updated 3 years ago

Generation Of Solid Shapes Using Random Number Generator by Nishant Gupta

Nishant Gupta

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

Pfrustumfromrand.m

conefromrand.m

cuboidfromrand.m

image thumbnail

updated almost 4 years ago

rand_gamma by Matthew Roughan

Matthew Roughan

Generates Gamma randomc variables. (random, statistics, simulation)

rand_gamma(N, M, b, c)

rand_gamma_test.m

image thumbnail

updated almost 4 years ago

QAP Rand Matrix Swap by Puck Rombach

Puck Rombach

Randomly permutes an adjacency matrix, preserving the network it represents, as needed for QAP test. (random, permutation, adjacency matrix)

qapmatrixswap(Y)

image thumbnail

updated almost 4 years ago

RANDBLOCK by Jos (10584)

Jos (10584)

scramble matrices using blocks (v2.3, mar 2011) (matrices, random, shuffle)

randblock(M,S)

image thumbnail

updated almost 4 years ago

Shuffle by Jan Simon

Jan Simon

Random permutation of array elements, C-Mex: much faster than RANDPERM (statistics, vector, mix)

Shuffle(Arg1, Arg2, Arg3)

uTest_Shuffle(doSpeed, doBias)

image thumbnail

updated almost 4 years ago

Coffee Roulette by Emile Demarteau

Emile Demarteau

Let Matlab decide whose turn it is to get the coffee. (dojo, json, coffee)

CoffeeRoulette()

J=mat2json(M)

M=json2mat(J,tag)

image thumbnail

updated 4 years ago

RANDPERMFULL (derangement) by Jos (10584)

Jos (10584)

RANDPERMFULL (N) returns a random derangement (complete permutation) of the integers from 1 to N (permutation, derangement, random)

randpermfull(N)

image thumbnail

updated 4 years ago

Random Regular generator by golan pundak

golan pundak

creates a random regular graph in the pairing model (graphs, combinatorics, mathematics)

createRandRegGraph(vertNum, deg)

test.m

image thumbnail

updated 4 years ago

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

Michael Chan

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

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

deg2rad( inDegrees )

getPointsBetween2Points (startp,endp,pts)

image thumbnail

updated 4 years ago

A Benchmark Problem for Model Based Control System Tests - 001 by Yogananda Jeppu

Yogananda Jeppu

A benchmark problem for model based control system testing (aerospace, automotive, benchmark)

[o COV]=interpol1(X,Y,x,COVERAGE)

compslp(x1,x2,y1,y2,x)

concover(a,inp)

image thumbnail

updated 4 years ago

Truncated Gaussian by Bruno Luong

Bruno Luong

Generate a pseudo-random vector X drawn from the truncated Gaussian distribution (gaussian, normal, random)

TruncatedGaussian(sigma, range, varargin)

image thumbnail

updated 4 years ago

RANDSUBSET by Bruno Luong

Bruno Luong

Return a random subset of k elements of the set of n elements (randperm, subset, random)

randsubset(v, k)

randsubset_install

randsubset_matlab(v, k)

image thumbnail

updated 4 years ago

WWW.RANDOM.ORG random integers/sequences/strings by Oleg Komarov

Oleg Komarov

Get true random integers, sequences or strings (rand, integer, randi)

randorg(n, range, varargin)

seqorg(range, varargin)

strorg(n, len, varargin)

image thumbnail

updated 4 years ago

Unique Random Integer List by Ibraheem Al-Dhamari

Ibraheem Al-Dhamari

A simple function that produce unique random Integer List (unique, integer, random)

r=myrand(a,b)

image thumbnail

updated almost 5 years ago

Unique random permutations by Ged Ridgway

Ged Ridgway

Random sample (without replacement) from unique permutations of a vector or row-perms of a matrix (combinatorics, permutation, random)

nchoosek_m(n, k, m)

perms_m(n, m)

sample_no_repl(n, k)

image thumbnail

updated almost 5 years ago

samplepick by Mauro

Mauro

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

samplepick(x,n,dim)

image thumbnail

updated almost 5 years ago

RANDWORD by Thomas

Thomas

Generate a random word from an alphabet (random, word, lexicographic)

randword(alpha, wordSize, numWords)

image thumbnail

updated 5 years ago

Random Hermitian Matrix Generator by Marcus

Marcus

Generates a random nxn Hermitian matrix. (hermitian, matrix, riemann)

rherm(n)

Contact us