S=RepeatFiles(varargin) returns a 'struct array with fields' listing all repeated file names within the directory or subdirectories given by varargin. The list is sorted in alphabetical order with repeated files listed in sequence. Syntex for varargin is the same for function 'rdir.m' Example: %Find all repeated .m files within all subdirectories of current directory S=RepeatFiles('***.m') ...
ALLFITDIST Fit all valid parametric probability distributions to data.
[D PD] = ALLFITDIST(X) fits all valid parametric probability distributions to the data in column vector X, and returns a struct D of fitted distributions and...
XC = WILSON(X,N) Returns the center of the Wilson Score Interval for the binomial distribution. X and N are scalars containing the number of successes and the number of trials, respectively. [XC, WSI] = WILSON(X,N,ALPHA) gives the...
Uses the struct in program #27031 to create expressions of Dimensionless Quantities based on user inputs.
dimensionless() returns a random dimensionless quantity using a random number of fundamental quantities
EXAMPLES:
MVNRND2 Random vectors from the multivariate normal distribution. R = MVNRND2(MU,SIGMA,NUM) returns a NUM-by-D matrix R of multivariate normal random vectors whose mean and covariance matrix match the given input parameters, MU (1-D vector)...
S=MassKeno(X) creates a struct of past information of Keno games from the Massachusetts Lottery Website using Game Numbers of vector X. S=MassKeno('Today') gives the latest numbers for today S=MassKeno([YYYY MM...
SUMPDF Probability distribution of the sum of distributions
[S,P,C]=SUMPDF(X1,P1,N1,X2,P2,N2,...) will return the distribution of the sum of distribution P1, at values at X1, N1 times plus the distribution P2, at values in X2, N2...
REPVAL Repeated Values repval(X) finds all repeated values for input X, and their attributes. The input may be vector, matrix, char string, or cell of strings Y=repval(X) returns the repeated values of X [RV, NR,...
NUMREGPOLY Number of Intersection Points and Regions Made By The Diagonals of a Regular Polygon [A,B,I,R]=numregpoly(N) for integer n returns the following: A: Vector of number of points inside the regular n-gon other than...
For small number of coins, and a listing of all combinations, a better program to use is John's program "Partitions of an Integer" (see discussion below)
If you have a huge set of coins, and just want the number of... |