StructTetraMesh is a tool to build structured tetreaedral mesh on cuboid dataset. This is usefull in avoiding delaunay 3D triangulation that for this kind of dataset are particularly slow and numerically unstable.
This tool allows a huge speed improvement against delaunayn for 3D points, the output triangulation will also be d-deDUslivers-lessd-deDt, this is particularly important for programs that need a conform triangulation like
In order to get values from handles in another order or to get multiple values from multiple handles at the same time, I created a very comfortable function that expand the GET function abilities.
It calculates the Inverse Kinematic of an Anthropomorphic arm with 3 DOF.
'q' is the solutions in radiant and K is the direct Kinematic matrix.
K = [ n s a p;
0 0 0 1]
where n, s, a are three vectors fo 3 elements...
In image analysis, such as in the field of AFM topography, a standard problem is to fit polynomials of given ORDer to many columns of data, considered as different functions of the same independent variable. POLYFIC solves this problem in a...
Given a desired value "y0", this function finds all the elements "y" in a vector whose values are the closest to "y0" in the whole vector, and also the positions "xi". So, the output is a set of points...
Like polyfit.m but includes weighting of each data point.
Find a least-squares fit of 1D data y(x) with an nth order polynomial, weighted by w(x).
This function is a more robust and improved version of my previous submission, matchingpursuit.m
This function computes the projection of a given input vector or matrix onto a "dictionary" of other vectors or matrices using a...
This is a function that returns a string vector containing the expiration dates of options when a serial date vector is given. Also returns the index of the expiration fridays in the serial date vectors.
If you pass in 2 vectors it returns the unnormalized distance between the vectors, the accumulated distance between them, the length of the warping path (the normalizing factor), the warping path points and both warped input vectors.
zpkfit uses the nonlinear least-squares fitter (lsqnonlin) to fit an analytic model of any (fixed) number of poles and zeroes to numerical (presumably measured) frequency response data. It takes as arguments a frequency vector, a frequency...
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!
A = [1,1,-1,1; %<-basis vector
This function plots a Gaussian impulse response, unit impulse and the
% convolution/deconvolution of both using MATLAB's 'filter'. Specifically
% it uses 'filter' rather than 'deconv' to do the deconvolution and thereby
The application uses the approach introduced in paper "Covariance Tracking using Model Update Based on Means on Riemannian Manifolds", F.Porikli, O.Tuzel, P.Meer.
The tracking is based on:
1) initializing the target...
INVDISTGRID Simple, robust gridding using inverse-distance interpolation.
[Xi,Yi,Zi] = invdistgrid[X,Y,Z,dx] Grids values in vector Z with coordinates X and Y into an array with spacing dx using inverse-distance weighting (default power =2)....
MAPCOLORS Create a custom RGB colormap by interpolating between two pre-defined
MAPCOLORS(START,FINISH) returns a 64 x 3 matrix containing RGB
intensities linearly interpolated between the values specified in...
DARROW draw arrows at specified point in spefied directions
DARROW(X,Y,U,V,S) for scalar arguments, draws an arrow of lengths S at point (X,Y) in the direction (U,V).
When one or more input arguments are column vectors,...
[M,B] = AG_RECTA(X,Y) finds the the slope M and the y-intercept B of the line that better fits to the X,Y data. X and Y are vectors of the same length.
This function convolves two very large vectors very quickly. Enormous gains in speed are due to the use of two fft's and an ifft. To find out how to use this program, put it in you 'work' folder and type "help fconv".
Function to represent 2D or 3D objects filled with the appropriate colormap according to an additionally provided set of values.
Fill the lack of MatLab functions to provide contour plots of 2D and 3D shaped objects.
[alpha,delta] = eclip2equat(lambda,beta) returns the right ascension and declination in the equatorial coordinate system corresponding to the longitudinal and latitudinal coordinates in the ecliptic coordinate system (lambda and beta).