Scalar Quantities
ANSWER = STRUCTDLG(S) creates a modal dialog box that returns user input for multiple prompts in the struct ANSWER. S is the default struct. Each prompt string will inherit the S' fields name.ANSWER will be the same struct as S except for fields of type "cell array of string" that will be...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): structdlg Download |
MULTINOMIAL(N, K1, K2, ..., Km) where N and Ki are numeric arrays of non-negative integers satisfying N = K1 + K2 + ... + Km, returns the multinomial coefficient N!/( K1!* K2! ... *Km!).MULTINOMIAL(N, [K1 K2 ... Km]) when Ki's are all scalar, returns the same as MULTINOMIAL(N, K1, K2, ...,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): MULTINOMIAL Download |
This function gives the datenum 'time' and the matrix 'M' of theradiosoundings read in the input file, obtained as ascii text by'cut and paste' from 'http://weather.uwyo.edu/upperair/sounding.html'.The input file can contain an arbitrary number of radiosoundings.The 'station_id' is the number of...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): read_RWS Download |
mxLogicalFunctions.for provides a suite of functions to support conversion of Fortran logical variables to/from MATLAB style mxArray variables in mex routines or engine applications. Assumes that the MATLAB logical class uses 1 byte for storage of each logical element. When testing a MATLAB...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Fortran Logical mex functions Download |
This function gives an easy solution to show a voxel-based object. Just give the centers of the voxels and the voxel size, and you will get a nice 3D image. Some more features are available, like face color and edge color.Syntax:voxel_image(pts, vox_sz, color, alpha, edgec)Parameters: pts - n x 3...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Voxel Image Download |
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 the center where exactly k lines meet B: Vector of number of k-tuples of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Number of Intersections Regular Polygon Download |
This utility digitizes the xy scator plot from picture.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Scalar plot digitizer Download |
In the study of circuits and others it is useful to portray quantities as phasors which are functionally equivalent to a vector in polar format.This class implements the constructor for that data type as well as the functions to add, subtract, multiply and divide phasors. There is also the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 71.68 KB | Download (44): Phasor/Polar Data Type Download |
This is a faster implementation of MATLAB's corr2. Implemented as a mex-file generated with the ITERATOR tool that can be downloaded from www.mathworks.comRe compile the source with MEX -O prcorr2.c C = PRCORR2(A,B) computes the correlation between A and B. A and B are arrays witn any number of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 30.72 KB | Download (40): prcorr2 - 10 times faster correlation coef Download |
This m-file function can be used in any area where the total electrical resistance of parallel resistors is required. The only real difference between this version and the old one is that the function now allows a single vector input parameter (row/column) as well as the usual multiple scalar...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Compute the total resistance of n resistors in parallel - new minor version Download |
LEPSTEST [lepss] = lepstest(cumclimate,xo,xf,refprob) This code computes LEPS score LEPS: Linear Error Probability Space (Ward and Folland, 1991) lepss - Linear Error Probability Space Score xo - measured values: column vector or scalar xf - forecasted values: column vector or scalar...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): LEPSTEST Download |
MAT = NPERMUTEK(N,K) returns all possible permutations of the elements taken from vector N of length K. This type of sampling is an ordered sample with replacement.This is also known as the permutations with repetition.MAT has size (length(N)^K)-by-K, where K must be a scalar. [MAT, IDX] =...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): N_PERMUTE_K Download |
Single sample Smirnov-Cramer-Von Mises goodness-of-fit hypothesis test.H = MTEST(X,ALPHA) performs the particular case of Smirnov-Cramer-Von Mises test to determine whether the null hypothesis of composite normality CDF is a reasonable assumption regarding the population distribution of a random...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Smirnov Cramer Von Mises Test Download |
Function JKNIFE computes values of user-defined scalar-, vector- or matrix-valued statistics in the original sample, and in n leave-one-out samples, where n is the number of rows in X. Addressing limitations of JACKKNIFE (Statistics Toolbox, v. 6), JKNIFE accepts 'fixed', i.e. non-resampled,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Jackknife a statistic Download |
This function extracts a scalar/vector/matrix of random numbers with discrete Probability Distribution Function.The PDF is specified by the user as a input vector.This function is designed to be fast, and it is implemented within a .mex fileFollowing Olivier B. comments (that I acknowledge for...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 71.68 KB | Download (47): Performing random numbers generator from a generic discrete distribution Download |
randgen(mu,mu1,mu2,cov1,cov2,cov3) = Random generation of Gaussian Samples in d-dimensions where d = 2mu, mu1, mu2 = (x,y) coordinates(means) that the gaussian samples are centered around. cov1, cov2, cov3 are the covariance matrices and will vary changing the shape of the distribution, example:...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Gaussian Random Samples Generation Download |
The files in this folder contains small routines for MATLAB to compute and plot triangular probability denstity function. There are following 4 files:tglpdf : Compute and plot triangular probability density function for given value of X (X can be scalar or matrix)tglcdf : Compute and plot...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Triangular pdf Download |
GTEST: Single sample Geary goodness-of-fit hypothesis test.H=GTEST(X,ALPHA) performs the Geary test to determine whether the null hypothesis of composite normality PDF is a reasonable assumption regarding the population distribution of a random sample X with the desired significance level ALPHA.H...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Geary Test Download |
CHI2TEST: Single sample Pearson Chi Square goodness-of-fit hypothesis test.H=CHI2TEST(X,ALPHA) performs the particular case of Pearson Chi Square test to determine whether the null hypothesis of composite normality PDF is a reasonable assumption regarding the population distribution of a random...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Pearson Chi Square Hypothesis Test Download |
Contains various functions for measuring or estimating geometric quantities from 2D or 3D images.Parameters available for 2D images are:* the area (number of pixels)* the perimeter (based on Crofton formula)* the(2D) Euler NumberParameters available for 3D images are:* the volume,* the surface...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 81.92 KB | Download (92): geometric measures in 2D/3D images Download |