Scalar
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 (41): 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 |
Convert a single positive numeric scalar value into a string giving that value as the multiple of an IEC/ISO binary prefix. The binary prefix may be selected to be either the full name or the symbol, the symbol is default.The function automatically uses the lowest suitable binary prefix.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 1024 KB | Download (45): Numeric To Binary Prefixed String Download |
This function can be used to get peaks data: number, height,position, area, width and overlap of peaks of a function of spectrum of peaks.X and y are vectors of the function and wp is a scalar.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 51.2 KB | Download (39): Peak Data Calculation (updated) Download |
TMWidgets is a set of functions that make it easy to include real-time updating displays in your measurement application. TMWidgets includes three widgets: a strip chart (for time series), a spectrum scope (for frequency) a specgramscope (for frequency and time) and a thermometer (for scalar...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 194.56 KB | Download (43): Test and Measurement Widgets Download |
This function estimates the solution to Kummer's differential equation within a specified tolerance. Kummer's differential equation is given by: x*g''(x) + (b - x)*g'(x) - a*g(x) = 0The code executes a while loop to calculate the generalized hypergeometric series within a specified...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Confluent hypergeometric function Download |
The HGSETGETPLUS class allows the user to:* Implement a handle class with a get/set interface.* Define validation criteria for properties that are checked when themethod SET is called.* Display those criteria for a given property or all the properties.* Set defaults for the properties.* Allow a...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 71.68 KB | Download (39): HandleGraphicsSetGet class Download |
I threw this together for myself, because I wanted a version of interp with differences 1, 2, and 3 (below). I'm sure it's not as fast as it could be - feel free to comment on any potential improvements, or on any bugs.Differences from MATLAB built-in functions: 1. MUCH faster 2. Extends border...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Faster linear Interpolation Download |
UNIQUETOL Unique element within a tolerance.[Y,I,J] = UNIQUETOL(X,TOL) is very similar to UNIQUE, but allows an additional tolerance input, TOL. TOL can be taken as the total absolute difference between similar elements. TOL must be a none negative scalar. If not provided, TOL is assumed to be 0,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): unique with tolerance Download |
Did you ever want the ability to define a special constant that is seen by and used in all of your functions, without needing to create global variables?For example, suppose you used the golden ratio often in your work. Rather than creating a global variable named phi, or being forced to pass a...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): User Defined Constants Download |
STRUCT2TABLE(S) displays a table with the field names in the headlineand one row for each struct element: # [field name 1] [field name 2] ......
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (51): struct2table Download |
This function plots a 3D line (x,y,z) encoded with scalar color data (c). This function is an improvement over the CLINE function previously made available on TMW File Exchange. Rather than using the LINE function a PATCH surface is generated. This provides a way to change the colormapping...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Plot 3D Color Line Download |
READMM_2D(file,nrows) reads data from the full path+filename specified by 'file' and parses the data into the number of rows specified by 'nrows'.If the number of rows is specified the function uses TXT2MAT to read a Mathematica formatted 2D data array. If number of rows is not specified, or if...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): readMM_2D Download |
This function generates an overlapping histogram of multiple populations. For a demo simply type "histn".SYNTAX: h=histn(Y,X,S)Y - Data array that is NxM where N is the number of groups and M is the number of measures within each group. Right now M has to be the same for each group.X - Optional...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): histn.m Download |
Orthogonalslicer creates 3 figures showing the 3 orthogonal slices from a scalar volume of data. Cross lines on each image represents lines of intersection of the appropriate plane and the two other orthogonal plane. By left dragging the mouse on any plane the user can explore the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 30.72 KB | Download (43): Orthogonalslicer Download |
OPTPLOT finds a nearly optimal number of points between given x-limits at which a real scalar function f(x) has to be calculated so that the plot of this function has a nearly uniform accuracy on the screen, specified by a parameter TOL, and either plots the graph or returns the calculated points...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Optplot Download |
This function plots a 3D line (x,y,z) encoded with scalar color data (c) using the specified colormap (default=jet). Thus, lines with variable color can be plotted (eg. temperature along a 3D line path).
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): cline.m Download |