image thumbnail

updated 2 hours ago

simbin(mat1,mat2,type,mask) by Jeff

Jeff (view profile)

Computes 106 measures of similarity and dissimilarity (distance) between two binary matrices (image processing, statistics, image analysis)

simbin(mat1,mat2,type,mask)

image thumbnail

updated 4 days ago

Hierarchical clustering by Eric Ogier

Eric Ogier (view profile)

Hierarchical clustering and dendrogram (WPGMA and UPGMA methods) (wpgma, upgma, dendrogram)

Hierarchical_clustering(Matrix,Method,Metric,Parameter,Va...

Example_vector.m

Example_matrix.m

image thumbnail

updated 9 days ago

Neighboring distance of data points by Joris Meurs

Calculate the distance between neighboring data points (data analysis, distance, pythagoras)

ndistance(X,Y)

image thumbnail

updated 1 month ago

Pairwise Distance Matrix by Mo Chen

Mo Chen (view profile)

Compute pairwise square Euclidean or Mahalanobis distances between points sets (fully optimized!). (euclidean, distance, pairwise)

sqdist(X1, X2)

image thumbnail

updated 1 month ago

Distance between straight lines in 3D by Michael Yoshpe

Michael Yoshpe (view profile)

Find the distances between each pair of straight lines in two sets, and the closest points (geometry, distance, 3d)

ll_dist3d(P0,P1,Q0,Q1)

image thumbnail

updated 3 months ago

Track Fusion with MDL by Richard

Richard (view profile)

Fusion of Points-of-Origin for a Counter Battery application (optimization, aerospace, clustering)

Blackman(POO,COV,N,S2,LS,choice,verbose)

MDL(K, part, POO, COV, N, choice)

computeDIA(Hdis,kmedians,thisK,thispart,verbose)

image thumbnail

updated 3 months ago

nearestpoint(x,y,m) by Jos (10584)

Jos (10584) (view profile)

NEARESTPOINT - find the nearest value in another vector (statistics, probability, distance)

nearestpoint(x,y,m)

image thumbnail

updated 4 months ago

Image chamfer distances and geodesic diameter by David Legland

David Legland (view profile)

Propagates geodesic distances in binary images, and compute geodesic diameter (image, distance, geodesic)

demoImChamferDistance

demoImGeodesicPath

demoImMaxGeodesicPath

image thumbnail

updated 4 months ago

Extract points in a defined direction and distance by Abdullah OZCAN

extract points in 'pk' that are in a direction relative to reference point 'p' (direction, points, relative)

directionaldist(p,pk,r1,r2,dirAngle,margin,dirType)

nearestneighbour(varargin)

demo.m

image thumbnail

updated 4 months ago

Trilateration code by Abdelmoumen Norrdine

An approach for solving nonlinear problems on the example of trilateration is presented. (trilateration, multilateration, non linear least squa...)

distanzen.m

RecTrilateration.m

Trilateration(P,S,W)

image thumbnail

updated 5 months ago

Chariot de golf by Calixte Mickael

Simulation de la chaîne d'énergie du chariot de golf. (chariot de golf, sciences de lingnieur, ssi)

Chariot_de_marche.m

parametres_C_d_marche.m

complet_chariot_de_marche.slx

image thumbnail

updated 6 months ago

Minimum distance between two polylines by Michael Yoshpe

Michael Yoshpe (view profile)

Find minimum distance between two polylines, and the closest points (geometric transformat..., geometry, image registration)

p_poly_dist(xp, yp, xv, yv, varargin)

poly_poly_dist(xv1, yv1, xv2, yv2)

test_poly_poly_dist(xv1, yv1, xv2, yv2)

image thumbnail

updated 7 months ago

Distance between points and ellipse by Rody Oldenhuis

Compute the distances between an ellipse and an arbitrary number of points, in 3D (distance, ellipse, point cloud)

image thumbnail

updated 7 months ago

Determine the distance between two ellipses (in 3D) by Rody Oldenhuis

Determine the minimum distance (and corresponding angles) between two ellipses (geometry, ellipse, quartic)

image thumbnail

updated 7 months ago

FindPartitions(points,dist) by Zhouxin Xi

Partitioning point data into cluster (point cloud, clustering, segmentation)

FindPartitions(points,dist)

image thumbnail

updated 8 months ago

point2trimesh by Daniel Frisch

Distance between a point and a triangulated surface in 3D (surface, distance, patch)

point2trimesh( varargin )

image thumbnail

updated 8 months ago

p_spoly_dist by Michael Yoshpe

Michael Yoshpe (view profile)

Find shortest distances (angles) from points on a unit sphere to a spherical polyline. (geometry, spherical, 3d)

test_p_spoly_dist.m

p_spoly_dist(latp, longp, latv, longv)

slinspace(latv, longv, varargin)

image thumbnail

updated 9 months ago

Geodesics on an ellipsoid of revolution (DEPRECATED) by Charles Karney

Solutions of the direct and inverse geodesic problems (area, distance, geodesy)

A1m1f(epsi)

A2m1f(epsi)

A3coeff(n)

image thumbnail

updated 10 months ago

object_line_int( a, b, mask, dist_trld ) by Violet

Violet (view profile)

Find the intersection between a line between two points and the boundary of an object in a mask (image processing, image, line)

object_line_int( a, b, mask, dist_trld )

example.m

image thumbnail

updated 10 months ago

Phylogenetic analysis of DNA sequences or genomes by Fourier transform by Changchuan Yin

Phylogenetic analysis of DNA sequences or genomes by Fourier transform (dna, comparision, distance)

SE_DFTDNA2D( seq )

SE_DFTDNA2D_R123(seq,option )

evenScaleVector(Tn,M)

image thumbnail

updated 11 months ago

Distance Measure by Flavio Prattico

This function allows to measure the distance between a real series and a predicted or estimated one. (distance, statistics, time series)

distmeasure(Y,Yf,type)

image thumbnail

updated 12 months ago

MaxMean Distance by Reza Farrahi Moghaddam

This function calculates the MaxMean Distance of two vectors (or recursively rows of matrices). (maxmean, distance)

MaxMean_Distance_R(input_vector_1, input_vector_2)

image thumbnail

updated 1 year ago

distanceVertex2Mesh(mesh, vertex) by Christopher

Calculate the distance between vertices and a mesh (3d distance, object distance, distance to surface)

distanceVertex2Mesh(mesh, vertex)

image thumbnail

updated 1 year ago

dcorr( X, Y ) by Paolo Inglese

Paolo Inglese (view profile)

Distance correlation (correlation, distance, classification)

dcorr( X, Y )

image thumbnail

updated 1 year ago

Fast shortest distance between two line segments (in N dimensions) by Ondrej

Ondrej (view profile)

Shortest distance between two line segments in N dimensions (distance, geometry, intersection)

distLinSeg(point1s,point1e,point2s,point2e)

image thumbnail

updated 1 year ago

pathdist by Chad Greene

Chad Greene (view profile)

Simply calculate distance traveled along a lat/lon path (distance, track, waypoints)

pathdist

pathdist(lat,lon,varargin)

image thumbnail

updated 1 year ago

geodistance by Orlando Rodríguez

Calculates the distance on the surface of the earth. (earth surface, geodistance, distance)

geodistance( ci , cf , m )

image thumbnail

updated 1 year ago

gdist by Chad Greene

Chad Greene (view profile)

Get distances between points from mouse clicks on a figure. (ginput, distance, hypot)

gdist(varargin)

image thumbnail

updated 1 year ago

gdistm by Chad Greene

Chad Greene (view profile)

Get distances in any length unit from mouse clicks on a map (mapping, length, great circle)

gdistm documentation

gdistm(varargin)

image thumbnail

updated 1 year ago

getNearestNeighborDistances.m by Paul Fricker

Paul Fricker (view profile)

Compute nearest-neighbor distances for the regions in a Boolean image. (distance, regionpropsimage anal...)

getNearestNeighborDistances(bw)

image thumbnail

updated 1 year ago

dist_from_coast.zip by Dan Chavas

determine minimum distance to a coastal point (geography, oceanography, climate)

dist_from_coast(lats_in,lons_in,dist_method,dist_maxthresh)

vdist(lat1,lon1,lat2,lon2)

dist_from_coast_example.m

image thumbnail

updated 1 year ago

Distance calculation using Haversine formula by Josiah Renfree

Compute the distance between two locations using the Haversine formula (haversine, latitude, longitude)

haversine(loc1, loc2)

image thumbnail

updated almost 2 years ago

Intravascular Near-Infrared Fluorescence (iNIRF) Imaging by Sam Nazari

MATLAB based matched filter is implemented for an iNIRF imaging method (detection, machine learning, signal processing)

attenuationRadiusRegression(manualSelectFlag,polyFitN)

findOptimalWidth(onlyFirstN,showWhich,templateSignalStats)

mygaussfit(x,y,h)

image thumbnail

updated almost 2 years ago

disthist by Chad Greene

Chad Greene (view profile)

Simply show a histogram of distances between geographic waypoints. (distance, hist, histogram)

disthist

disthist(lat,lon,distances_or_nbins)

image thumbnail

updated almost 2 years ago

interpm2 by Chad Greene

Chad Greene (view profile)

Densify or interpolate along paths with approximately equal spacing in meters or kilometers. (interpm, interpolation, mapping)

interpm2

interpm2(lat,lon,maxdiff,method,units,tolerance)

image thumbnail

updated almost 2 years ago

replacefartherthan by Chad Greene

Chad Greene (view profile)

Replace or delete values in a surface farther than a given distance from points. (griddata, nan, distance)

replacefartherthan

replacefartherthan.m

image thumbnail

updated almost 2 years ago

Information-based Similarity Toolbox by Albert Yang

Information-based similarity index is an analysis of measuring distance between symbolic sequences (statistical physics, information theory, distance)

nonrandomness.m

wrf.m

readsignal.m

image thumbnail

updated almost 2 years ago

Pair-wise Euclidean Distance Matrix by Quan Wang

Quan Wang (view profile)

Computing the distance matrix without loops (data, distance, matrix)

distanceMatrix(X)

distanceMatrix2(X,Y)

demo2.m

image thumbnail

updated 2 years ago

interpmask - interpolate (tween) logical masks by Sven

Sven (view profile)

interpmask interpolates (or tweens) masks to transition smoothly between shapes in masks (mask, interp1, interpolation)

interpmask( varargin )

image thumbnail

updated 2 years ago

Zip Code Latitude Longitude City State County by Sami

Distance between two zip codes (zip, zip code, distance)

ZipLatLon.m

image thumbnail

updated 2 years ago

MeasureClick - measure between two clicks quickly by Matthew Arthington

Quickly display the distance and gradient between two clicks (plot, figure, dialogue box)

measureClick(varargin)

image thumbnail

updated 2 years ago

Connect Randomly Ordered 2D Points into a Minimal Nearest-Neighbor Closed Contour by Tristan Ursell

Tristan Ursell (view profile)

Connects randomly ordered 2D points into a minimal nearest neighbor contour. (contour, nearest, neighbor)

points2contour(Xin,Yin,P,direction,varargin)

image thumbnail

updated almost 3 years ago

2D fast marching algorithm by Juan Cardelino

computation of distance maps using fast marching (differential equation..., fast marching, algorithm)

fast_marching(data_points,siz,plot)

test_fm.m

image thumbnail

updated almost 3 years ago

Frechet Distance Calculator by Tristan Ursell

Tristan Ursell (view profile)

Estimate the similarity between curves in space using the scalar Frechet Distance. (curve, curves, path)

frechet(X1,Y1,X2,Y2,varargin)

image thumbnail

updated 3 years ago

Hausdorff Distance by Zachary Danziger

Calculates the Hausdorff Distance between two sets of points in a Euclidean metric space. (mathematics, metric, distance)

HausdorffDist(P,Q,lmf,dv)

image thumbnail

updated 3 years ago

distance2curve by John D'Errico

John D'Errico (view profile)

Find the closest point on a (n-dimensional) curve to any given point or set of points (nearest, closest, distance)

distance2curve(curvexy,mapxy,interpmethod)

image thumbnail

updated 3 years ago

Edit Distance Algorithm by Reza Ahmadzadeh

Edit Distance is a standard Dynamic Programming problem. (mathematics, search, dynamic programming)

EditDistance(string1,string2)

image thumbnail

updated 3 years ago

LatLon distance by M Sohrabinia

M Sohrabinia (view profile)

Find distance between two points based on latlon coordinates (distance, latlon distance, distance on earth)

lldistkm.m

image thumbnail

updated 3 years ago

Array Factor by Electromagnetizery

Array Factor for dipoles. Adjustable number of elements, progressive phase, and separation distance. (af, array, factor)

ArrayFactor(varargin)

image thumbnail

updated 3 years ago

IPDM: Inter-Point Distance Matrix by John D'Errico

John D'Errico (view profile)

An efficient and accurate Inter-Point Distance Matrix (distance, interpoint, distances)

demo_ipdm

ipdm(data1,varargin)

Contact us