image thumbnail

updated 1 day ago

archimekai/matlabarraygen by Kai Wen

Kai Wen (view profile)

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

image thumbnail

updated 11 days ago

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

Simone (view profile)

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

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

image thumbnail

updated 15 days 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 1 month ago

MyBernoulli( nP ) by Silvano Bertoldo

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

MyBernoulli( nP )

image thumbnail

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

Matrix&Arrays by Juan Gonzalez

Overview of Matrix & Arrays (random)

cOperacionesMatricesVectores13.m

image thumbnail

updated 2 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 4 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 5 months ago

Create new image from image tiles by 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 6 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 6 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 6 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 7 months ago

Chicken Swarm Optimization Algorithm (demo) by 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 7 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 9 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 10 months ago

Create strong passwords by 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 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 1 year 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 almost 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 2 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 2 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 2 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 3 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 almost 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 almost 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 almost 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

image thumbnail

updated 4 years ago

rand_gamma by Matthew Roughan

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

rand_gamma(N, M, b, c)

rand_gamma_test.m

image thumbnail

updated 4 years ago

QAP Rand Matrix Swap by 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 4 years ago

RANDBLOCK by Jos (10584)

Jos (10584) (view profile)

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

randblock(M,S)

image thumbnail

updated 4 years ago

Shuffle by Jan Simon

Jan Simon (view profile)

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

Coffee Roulette by 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) (view profile)

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

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 (view profile)

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 (view profile)

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 (view profile)

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

TruncatedGaussian(sigma, range, varargin)

Contact us