image thumbnail

updated 15 days 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 29 days 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 1 month 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 month ago

Geodesics on an ellipsoid of revolution by Charles Karney

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

A1m1f(epsi)

A2m1f(epsi)

A3coeff(n)

image thumbnail

updated 3 months 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 4 months ago

dcorr( X, Y ) by Paolo Inglese

Distance correlation (correlation, distance, classification)

dcorr( X, Y )

image thumbnail

updated 5 months 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 6 months 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 8 months 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 8 months 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 8 months 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 8 months 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 10 months 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 11 months 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 11 months 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)

[sigma,mu,A]=mygaussfit(x,y,h)

attenuationRadiusRegression(manualSelectFlag,polyFitN)

findOptimalWidth(onlyFirstN,showWhich,templateSignalStats)

image thumbnail

updated 1 year ago

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

Rody Oldenhuis (view profile)

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

image thumbnail

updated 1 year ago

Distance between points and ellipse by Rody Oldenhuis

Rody Oldenhuis (view profile)

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

image thumbnail

updated 1 year 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 1 year 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 1 year 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 1 year 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)

binmapping(signal)

checkfiletype(filename)

ibs(wrf1,wrf2)

image thumbnail

updated 1 year ago

Pair-wise Euclidean Distance Matrix by Quan Wang

Quan Wang (view profile)

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

D=distanceMatrix(X)

D=distanceMatrix2(X,Y)

demo1.m

image thumbnail

updated 1 year 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 1 year ago

Zip Code Latitude Longitude City State County by Sami

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

ZipLatLon.m

image thumbnail

updated 1 year 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 almost 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)

[Xout,Yout,varargout]=points2contour(Xin,Yin,P,direction,...

image thumbnail

updated almost 2 years ago

2D fast marching algorithm by Juan Cardelino

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

T=fast_marching(data_points,siz,plot)

test_fm.m

image thumbnail

updated 2 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 2 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 2 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 2 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 2 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 almost 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 almost 3 years ago

NEARESTPOINT (sep 2012) 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 almost 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)

image thumbnail

updated almost 3 years ago

interparc by John D'Errico

John D'Errico (view profile)

Distance based interpolation along a general curve in space (interpolation, spline, linear)

interparc(t,px,py,varargin)

image thumbnail

updated almost 3 years ago

Orthodromic distance by Nicolas Keckl

This function computes the orthodromic distance between A and B on WGS84. (orthodromic, distance, wgs84)

orthodrome(A,B)

image thumbnail

updated 3 years ago

Multidimensional Hausdorff distance for two sets of points by Denny Milakara

- 2D to nD, where n < length(points) - autocorrects wrong coords orientation (hausdorff, distance, hausdorff distance)

hausdorff(L1,L2)

image thumbnail

updated 3 years 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 3 years ago

2D Distance Transform of Arbitrary Points by Tristan Ursell

Tristan Ursell (view profile)

Distance transform from arbitrary points at a user set resolution and range. (image, point, points)

[Xvec,Yvec,Dist]=clouddist(Xin,Yin,xlim,ylim,res)

image thumbnail

updated 3 years ago

posdist by Jakob Tougaard

Calculates distance between two geographical positions in lat/long format (distance, latitude, longitude)

posdist(lat1,lon1,lat2,lon2,method)

image thumbnail

updated 3 years ago

arclength by John D'Errico

John D'Errico (view profile)

Compute the arclength of a general curve in any number of dimensions (arclength, spline, curve)

arclength(px,py,varargin)

image thumbnail

updated 3 years ago

Pairwise Distance Matrix by Mo Chen

Mo Chen (view profile)

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

sqdistance(A, B, M)

image thumbnail

updated almost 4 years ago

geodistance by Ganquan Mao

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

r=geodistance(ci,cf,m)

image thumbnail

updated almost 4 years ago

haversine by Ritchie Smith

Computes the haversine (great circle) distance in metres between successive points on the Earth. (haversine, latitude, longitude)

d=haversine(lat,long)

image thumbnail

updated 4 years ago

Shortest Distance Between Two Lines in N dimensions by Alexander Brodsky

Function calculates shortest distance between two lines presented by two points for each line. (2d, 3d, intersection)

[dist Pc Qc]=distBW2lines(L1,L2)

image thumbnail

updated 4 years ago

Travel Guide (GridLess Based Djikstra Algorithm) by Krishna Lalith

Player need to Define Map & 2 Points to get Shortest Distance. (djikstra, algorithm, shortest)

Callback_Grid(handy,varargin)

TravelGuide(action)

[shortpath,flag]=ShortDist(S,D,Adj_Mat)

image thumbnail

updated 4 years ago

Travel Guide (Grid Based Djikstra Algorithm) by Krishna Lalith

Player need to Define Map & 2 Points to get Shortest Distance. (djikstra, algorithm, shortest)

Callback_Grid(handy,varargin)

TravelGuide(action)

[shortpath]=ShortDist(S,D,Adj_Mat)

image thumbnail

updated 4 years ago

Travel Guide (Points Based Djikstra Algorithm) by Krishna Lalith

Player need to Define 2 Points to get Shortest Distance Path. (djikstra, algorithm, shortest)

Callback_Grid(handy,varargin)

TravelGuide(action)

[shortpath,flag]=ShortDist(S,D,Adj_Mat)

image thumbnail

updated 4 years ago

Minimum distance between two polygons by sjye

sjye (view profile)

Computes the minimum distance between two different shape polygons. (Vertex-vertex case) (polygon, minimum, distance)

min_dist_btwn_two_polygons(P1,P2)

Contact us