SMOOTHN Smooth N-D data Y = SMOOTHN(X, SIZE) smooths input data X. The smoothed data is retuirned in Y. SIZE sets the size of the convolution kernel such that LENGTH(SIZE) = NDIMS(X)
Y = SMOOTHN(X, SIZE, FILTER) Filter can be 'gaussian' or 'box' (default) and determines the convolution kernel.
Y = SMOOTHN(X, SIZE, FILTER, STD) STD is a vector of standard deviations one for each dimension,...
We have a data set data={x_1,x_2,x_3,...,x_N} and want to construct the delay vectors X(n)=(x_n,x_n-delta,x_n-2*delta,...,x_n-(embed_dimen-1)*delta).
The program takes:
INPUTS: data = this is a vector with data from a...
R = COMPLEXROOTS(X,N) returns all (N) complex Nth roots of X. X can be a real or a complex number, or an array of such numbers; N must be a natural number. If X is scalar, COMPLEXROOTS(X, N) is a 1*N vector with all complex Nth...
This function returns the basis of the intersection of N subspaces defined by their bases, and the dimension of this intersection. The input basis vectors must be row vectors!
Example: A = [1,1,-1,1; %<-basis vector ...
function y = laprnd(m, n, mu, sigma) %LAPRND generate i.i.d. laplacian random number drawn from laplacian distribution % with mean mu and standard deviation sigma. % mu : mean % sigma : standard deviation % [m, n] : the...
TYPECAST and TYPECASTX are mex functions intended to mimic the MATLAB intrinsic typecast function with extensions. These C-mex versions of typecast differs from the intrinsic typecast in the following important aspects: Intrinsic...
Arrowline 3-D vector plot.
vectarrow(p0,p1) plots a line vector with arrow pointing from point p0 to point p1. The function can plot both 2D and 3D vector with arrow depending on the dimension of the input
Example: For...
Joe engineer's script works in radians and meters. The lab data files are in degrees and inches and the drawings are in mm. Joe tags everything with dimensions and never worries again about conversions. He even discovers a bug where a value he...
This is a very fast and efficient script for nodal-to/from-spectral transforms using chebyshev polynomials on the unit square domain. This version does not require 2^n truncation, but does require the same truncation in both dimension. Users are...
It can eprform the following multidimensional array filtering: running filters in 1D and 2D, filters for image processing applications (erosion/dilatation), 3D and more.
The MEX engine uses an algorithms that requires no more than three...
I needed to create rgb jpg images of heatmaps that had the same dimensions as my input data. If a heatmap is created using the image function and then saved as a jpgeg, the dimensions of the resulting jpeg no longer correspond to the input...
MatData 1.02
usage:
call read(filename,varname,var) call write(filename,varname,var,action)
where "filename" is the string of .mat file's name, "varname" is the string of variable's name...
this program evaluates the impedance and phase velocity in the shielded microstrip transmission line. program helps to view the effect of dimension of shielding used.
FDSURFFT computes fractal dimension (slope) of surface image im and draw rose plots of slope and intercept.
I needed to create rgb jpg images of heatmaps that had the same dimensions as my input data. If a heatmap is created using the image function and then saved as a jpgeg, the dimensions of the resulting jpeg no longer correspond to the input...
XMLConfigReader reads resource text data directly from a XML file and store it on a bidimensional array. The first dimension keys are taken from the value of the id attribute of the item elements.
The second dimension array keys are...
VERT2CON - convert a set of points to the set of inequality constraints which most tightly contain the points; i.e., create constraints to bound the convex hull of the given points
[A,b] = vert2con(V)
V = a set of points,...
The CImg Library is an open source C toolkit for image processing : It provides simple classes and functions to load, save, process and display images in your own C code.
Features:
- It consists only of a single header file...
% Estimate lengths on an image by point-click. % [lengths] = image_measure; % % This function prompts the user to select an image file to open, then % opens and plots the image. The program waits for the user to resize the
[O,O_MAT] = OUTER(FUN,VEC1,VEC2) Generalized outer product, like calculating VEC1 * VEC2' but instead of using multiplication to combine the elements of VEC1 and VEC2, the function provided by function pointer fun is called for each pair of... |