Conversion routines to take a surface (a function z of (x,y) or (theta,r)) and convert this into a solid; much as meshz does, but a little more useful for outputting as an STL for frabrication in a 3D printer. There are two cases, one in Cartesian co-ordinates, and the other in polar co-ordinates. Plus two sets of examples to show how they are used.
IPF allows one to find a matrix S, close to an input matrix T, but such that the row sums of S are R, and the column sums of S are C.
Its useful in a range of tasks like traffic matrix problems, statistics for examining independence...
Generate a Gamma random variable
"Statistical Distributions", Evans, Hastings, Peacock, 2nd Edition,
Wiley, 1993, p.75-81
(N,M) = size of array of random variables to generate
b = scale...
The user can customize the graphic output.
He can modify the colors, font faces, vertices annotations, how to fill the selected area (slants, diagonals, lines or solid color), overlaping area style and many more.
It works similar to the fill command in MATLAB.
It allows multiple overlapping hatching on different polygons, and can even be used to obtain a speckled affect.
It has a fair number of options for different line styles,...
plot_feasible(A, b, c, lower_b, upper_b, varargin)
Plots the feasible region of the 2D linear program
maximize f = c'*x
subject to A x <= b
on the region bounded by lower_b and upper_b.
It can plot the...
This function generates Pareto random variables (of type I). See
"Statistical Distributions", Evans, Hastings and Peacock, Wiley, 1993
A Gaussian mixture model means that each data point is drawn (randomly) from one of C classes of data, with probability p_i of being drawn from class i, and each class is distributed as a Gaussian with mean standard deviation mu_i and sigma_i....
A Reuleaux triangle is a shape of constant width based on an equilateral triangle. Its not actually a triangle, but it has some interesting properties. Formost, constant width means that in principle it would make just as good a cross-section for...