image thumbnail

updated 1 day ago

Plot and compare histograms; pretty by default by Jonathan C. Lansey

Compares multiple sets of data elegantly. Set bins and axis bounds to be appropriate for the data. (histogram, bins, bin size)

nhist.m

image thumbnail

updated 28 days ago

distributePointsOnPolygon by Wouter

This function distributes polygon points evenly across the polygon. (polygon, distribution, points)

distributePointsOnPolygon( varargin )

image thumbnail

updated 1 month ago

Find Image Extrema by Tristan Ursell

Find local maxima, local minima, saddle points, and flat regions in an image. (image, maximum, maxima)

[x,y,z,c]=imextrema(im1,varargin)

image thumbnail

updated 4 months ago

Log scale density function of basic distributions by Mo Chen

probability density function of basic distributions in log scale (pdf, probability, distribution)

logBesseli(nu,x)

logDirichletPdf(X, a)

logGaussPdf(X, mu, sigma)

image thumbnail

updated 4 months ago

RANDRAW by Alex Bar-Guy

Efficient Random Variates Generator (from over 50 distributions). (random variable gener..., poisson, distribution)

randraw.m

image thumbnail

updated 5 months ago

backward forward sweep method for radial distribution system by yared tassew

this is matlab code that is designed for distribution load flow using backward forwad sweep method (distribution, backward forward swee...)

backward_forward_sweep.m

image thumbnail

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

fitmethis by Francisco de Castro

FITMETHIS finds best-fitting distribution to data vector (fitting, best fit, maximum likelihood)

fitmethis(data,varargin)

plotfitdist(data,distname,par,dtype,varargin)

image thumbnail

updated 7 months ago

Back forward sweep algorithm for radial distribution systems by david

Backward/ forward sweep algorithm for three-phase load-flow analysis of radial distribution systems. (distribution)

BF.m

image thumbnail

updated 10 months ago

Inequality Package by Francesco Pozzi

Inequality Metrics: Gini Coefficient associated to the Lorenz Curve, Theil and Atkinson indexes (atkinson, statistics, gini)

atkinsonineq.m

ginicoeff(p, w)

lorenzcurve.m

image thumbnail

updated 10 months ago

Fit distributions to censored data by Leonidas Bantis

Fits distributions to data when left and/or right and/or interval censoring is present (censoring, left censoring, lognormal)

evfitc.m

expfitc.m

gamfitc.m

image thumbnail

updated 1 year ago

Von Mises random variates by Dylan Muir

Draw random numbers from the Von Mises distribution (von mises, distribution, random numbers)

vmrand(fMu, fKappa, varargin)

image thumbnail

updated 1 year ago

Distributions by Alexios Fourlis

This Gui is a simple way to display some useful distributions. (distribution, normal, poisson)

RnG(varargin)

SNG_task1(varargin)

exponential(varargin)

image thumbnail

updated 1 year ago

TRIPLESTEST by Jos (10584)

a non-parametric test for asymmetry (moment, nonparametric, test symmetry nonpara...)

triplestest(X, alpha)

image thumbnail

updated 1 year ago

Lambertian Emission of 1 LED by Nishant Gupta

The code is customizable and scalable version of Lambertian Emission (only incident) of 1 LED. (led, lambertian, emission)

Lambertian_1LED.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

Random Numbers from a Discrete Distribution by Tristan Ursell

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

gendist(P,N,M,varargin)

image thumbnail

updated 1 year ago

Symbol Dealing Distributor by Michael Chan

The utility may be used for example card dealing or similar operations. (data, card dealing, distribution)

symbolDealingDistributor( numberOfRecipientsToDealTo, textC...

usage_symbolDealingDistributor.m

image thumbnail

updated almost 2 years ago

Character/ symbol frequency distribution analaysis on vintage ciphers by Michael Chan

Demonstrates character/ symbol frequency distribution analysis (vintage ciphers, caesar cipher, vigenere cipher)

caesarCipher( inText, cipherMode )

plotCharDistributionFreq( textContents, fileTarget )

plotCharDistributionFreqDiff( textContents )

image thumbnail

updated almost 2 years ago

Bean Machine by Michael

Bean Machine Simulation (a.k.a. Plinko or binomial distribution) (binomial, distribution, plinko)

bean_machine.m

image thumbnail

updated 2 years ago

rand_extended computes a random number in the interval [a,b] by 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 2 years ago

M-file dependency consolidator by Jit

Will take a given m-file, or directory of such files, and consolidate any dependent m/mex files (mfile, distribution, dependency)

deppkg(SRC, DEST, IS_recursive)

image thumbnail

updated 2 years ago

HistConnect by Dirk-Jan Kroon

Smooth histograms for sparse sampled signals and images, using low-frequency assumption. (histogram, hist, linear interpolation)

H=HistConnect(X,B,R)

image thumbnail

updated 2 years ago

color dot plot by Per Sundqvist

Colored 2D scatter density plot. Mimics a 2D probability distribution for random data points. (2d scatter plot, probability plot, particle swarm)

coldotplot(x,y,s0,Ad)

image thumbnail

updated 2 years ago

cosspace by Cole Stephens

Create a vector of cosine spaced points. (cosine spacing, space, distribution)

cosspace(startPoint, endPoint, varargin)

image thumbnail

updated 2 years ago

sinspace by Sky Sartorius

Generates a sine-spaced vector with elements clustered at one of the two endpoints (clustered, clustering, sine)

sinspace(d1, d2, n, factor)

image thumbnail

updated 2 years ago

cosspace by Sky Sartorius

Generates cosine- or acos-spaced vector with elements clustered or sparse at the endpoints (cosine, spacing, spaced)

cosspace(d1, d2, n, factor)

image thumbnail

updated almost 3 years ago

Truncated Gaussian by Bruno Luong

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

TruncatedGaussian(sigma, range, varargin)

image thumbnail

updated 3 years ago

Gini coefficient and the Lorentz curve by Yvan Lengwiler

Computes the Gini coefficient and the Lorentz curve of weighted data. (statistics, inequality, distribution)

gini(pop,val,makeplot)

image thumbnail

updated 3 years ago

marginalscatter by Jeff Tuhtan

Scatter plot with ticks showing the marginal distributions. (scatter plot, distribution, tufte)

marginalscatter(data,LineSpec,xColor,yColor,MarkerSize)

image thumbnail

updated 3 years ago

rug plots by Rob Campbell

Creates a so-called "rug" plot similar to those produced by the free stats package, R. (rug, histogram, plot)

varargout=rug(varargin)

image thumbnail

updated 3 years ago

GINI coefficient by Oleg Komarov

A measure of statistical dispersion (gini, coeff, statistic)

ginicoeff(In,dim,nosamplecorr)

image thumbnail

updated 3 years ago

Applying Greedy Algorithm and Local Search in a Supply Chain distribution problem by Ramiz

In this work, we applied Greedy Algorithm for solving a Supply Chain Distribution Network problem. (optimization, greedy, local search)

calclostsales(dem,lostdemcost,horizon,nosalespt)

calclostsales(dem,lostdemcost,horizon,nosalespt)

choosefactory(factorycap,factholdcost,transcost,setupcost,f...

image thumbnail

updated 3 years ago

Seed generator using 'current' World Population count by Pranam Janney

Generates a seed that could be used to set the state for random number generation in matlab. (pure random numbers, random numbers, seed)

GenSeed;

read_specific_data(data,lookfor);

image thumbnail

updated 3 years ago

Bivariate Gamma Distribution (CDF, PDF, samples) by Geert Van Damme

Bivariate Gamma CDF and PDF (rho > 0) + Bivariate Gamma random generator (bivariate, correlated, distribution)

BivGamCDF(x, y, alpha_x, beta_x, alpha_y, beta_y, rxy)

BivGamPDF(x, y, alpha_x, beta_x, alpha_y, beta_y, rxy)

BivGamRND(nSamps, alpha1, beta1, alpha2, beta2, rho)

image thumbnail

updated almost 4 years ago

randp.m by Matthew Roughan

Generate Pareto random variables. (pareto, random number generat..., statistics)

randp(N,M,alpha,b)

randp_test.m

image thumbnail

updated 4 years ago

RANDP by Jos (10584)

Random integers with given probabilities ( (v2.0) (probability, density, rand)

randp(P,varargin) ;

image thumbnail

updated 4 years ago

Discrete random element selection based on a user-specified distribution by Christopher

Returns random elements from a set of discrete points according to a user-specified distribution. (random, distribution, stochastic)

randelement(E, SZ, P)

image thumbnail

updated 4 years ago

FISHERTEST by Jos (10584)

Fisher Exact test for 2-x-2 contingency tables (fisher, statistical, test)

fishertest(M, alpha)

image thumbnail

updated 4 years ago

Check Distribution by Abhisek Ukil

Function to check distribution of unique elements in a vector or matrix. (distribution, number distribution, unique elements prese...)

result=checkdistribution(x)

image thumbnail

updated 4 years ago

RANDINTERVAL by Jos (10584)

random numbers within multiple intervals (probability, weights, rand)

randinterval(N, Interval, Weight)

image thumbnail

updated almost 5 years ago

t_distribution by Edward Zechmann

This set of programs calculates the pdf, cpdf, icpdf, number of requred observations, and more for t (statistics, probability, distribution)

[A2, A_str, real_digitsL, real_digitsR, imag_digitsL, imag_...

[TA]=t_table(alpha, nu)

[alpha]=t_alpha(t, nu)

image thumbnail

updated almost 5 years ago

Electron distribution by Ahmad Abu Omar

Electron distribution for chemical elements (chemical, chemistry, electron)

e_distribution(atomic_num)

image thumbnail

updated 5 years ago

Random Number from Empirical Distribution by Durga Lal Shrestha

Generates random numbers from empirical distribution of data (distribution, random, probability)

emprand(dist,varargin)

image thumbnail

updated 6 years ago

Triangular Distributed Random Variable Generator by Mongkut Piantanakulchai

This function generates a vector of triangular distributed continuous random variable (statistics, probability, triangular)

X=trirnd(a,c,b,n)

image thumbnail

updated 6 years ago

DFM for alphabetic by andi yusuf

distribution frequency monoliteral for (statistics, probability, dfm)

cursor.m

database.m

dbtbx.m

image thumbnail

updated almost 7 years ago

Data Analysis with MATLAB Products - August 2006 Webinar Files by Stuart Kozola

Files used in the August 10, 2006 Webinar of same title (survival, weibull, statistics)

Analyzing Seat Vibration Data Using MATLAB Products

createfigure(x1, y1, y2, y3, y4, y5)

getSeatData(fileNameBase,showplot)

image thumbnail

updated 7 years ago

Optimal Distribution Substations Placement using Genetic Algorithm by Amir Pouya Khansaryan

Finds the optimal location and capacity of distribution substations (optimization, genetic algorithm, distribution)

DSP(varargin)

FValue=SP_tlosscost1(InValue)

FValue=SP_tlosscost1(InValue)

image thumbnail

updated almost 8 years ago

PDFPLOT by Alex Bar-Guy

PDFPLOT displays a histogram of the empirical probability density function (PDF) of the input data. (pdf, density, function)

pdfplot(xin, nbins)

image thumbnail

updated 8 years ago

DistributionFit by J. David Cogdell

Fits normal, lognormal, and weibull distributions to data. (statistics, probability, distribution)

distributionfit(data,distribution,nbins)

Contact us