Multilingual application to track your nutrition and activities. Depending on available data it supports the USDA or German food database, Weightwatcher Points(tm) or Optifast(tm) points. Calculation of recipies is also possible.
This is a Matlab implementation for the forwards additive version of ECC image alignment algorithm based on the paper "G.D. Evangelidis, E.Z. Psarakis, Parametric Image Alignment using Enhanced Correlation Coefficient Maximization", IEEE...
Returns the Z-points of the points making up a psychophysical curve.
If the values are out of bounds the function returns NaN. If they are 0 or 1 (which would give -Inf and +Inf) the values are rescaled
It doesn't perform...
EDFT (Extended Discrete Fourier Transform) algorithm produces N-point DFT of sequence X where N is greater than the length of input data. Unlike the Fast Fourier Transform (FFT), where unknown readings outside of X are zero-padded, the EDFT...
Up to now, to find the first non-zero element of a matrix along a column (for example) user might:
1. Use for-loop with FIND command for j=1:size(A,2) ... = find(A(:,j), 1, 'first'); end 2. Use other...
Compute the distance map to a set of points using the fast marching algorithm. Solves the 2-D eikonal PDE.
The rainflow algorithm code has been prepared according to the ASTM standard (Standard practices for cycle counting in fatigue analysis) and optimized considering the calculation time.
Code uses Bresenham Algorithm to draw a circle, with a modification parameter to increase/decrease the step for calculation of point. Bresenham Algorithm is used to reduce the calculation needed for drawing a circle by making use of property of...
A simple algorithm that returns the points (x and y values) for a line between two points (x1,y1) and (x2,y2).
The Matlab convhulln is a gateway to the quickhull algorithm ( see www.qhull.org ). In my opinion, one weak point of this mex routine is that it processes all the points without performing any preliminary filtering. In many cases it would be...
The native unique works using the sortrows algorithm which can be very slow for large models.
Sometimes we need to avoid passing multiple values to functions that do not support those. In most of these cases we are pretty sure that...
This program implements the iterative algorithm in Khachiyan's paper "Rounding of Polytopes in the Real Number Model of Computation" to approximate the minimum volume ellipsoid circumscribing a non-degenerate set of points in arbitrary...
Given starting and ending points returns list of coordinates as per Bresenham's line algorithm. I wrote this a long time ago under Matlab 4.x I think. It works under Matlab 5.3 and 6.1. I have not reviewed the code since I wrote it.
Calculate Distance Between Two Points Us Visit | Rate | Error is a multi-platform compatible program to calculate the distance between two locations. It can be used for store locator or radius calculation. Free sample source codes in PHP, ASP,...
This simple code calculates the convex hull of a set of 2D points and generates EPS files to visualise them. The algorithm was taken from a textbook on Computional Geometry.
This code takes an input of a set of given (x,y) points in the Cartesian coordinates and returns the center and radius of the minimum circle enclosing the points.
This code is based on that of Yazan Ahed, and contains no changes in the...
In Evolutionary Multiobjective Optimization (EMO), an algorithm produces a set of points in the performance space as an estimation of the Pareto front. A quantitive measure is desired to estimate the closeness of the estimated data points to the...
This is an application of the Greedy Algorithm and the Local Search for finding a solution for the SC Distribution Network problem. We dealt with one level SC composed of a set of factories and a set of Sales Points, each sales point has a...
ICP - Iterative Closest Point algorithm, c++ implementation. Handles only points in R^3. Makes use of a kd-tree for closest-point search. ICP finds the transformation of points in data to fit points in model. Fit with respect to minimize a...
This is a part of my books, a book to introduce the matlab use in finance, this is the first part of the series. We discuss the calculation rules and how to use the matlab functions to calculate the fixed income securities. Also we have... |