image thumbnail

updated 22 hours ago

Great ellipses by Charles Karney

Solution of direct and inverse problems for great ellipses (ellipsoid, navigation, wgs84)

gedistance(lat1, lon1, lat2, lon2, ellipsoid)

gedoc

gereckon(lat1, lon1, s12, azi1, ellipsoid)

image thumbnail

updated 25 days 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 27 days 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 1 month 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 3 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 3 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 3 months ago

pathdist by Chad Greene

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

pathdist

pathdist(lat,lon,varargin)

image thumbnail

updated 3 months ago

disthist by Chad Greene

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

disthist

disthist(lat,lon,distances_or_nbins)

image thumbnail

updated 3 months ago

interpm2 by Chad Greene

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

replacefartherthan by Chad Greene

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

replacefartherthan

replacefartherthan.m

image thumbnail

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

Pair-wise Euclidean Distance Matrix by Quan Wang

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

D=distanceMatrix(X)

D=distanceMatrix2(X,Y)

demo1.m

image thumbnail

updated 5 months ago

interpmask - interpolate (tween) logical masks by Sven

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

interpmask( varargin )

image thumbnail

updated 6 months ago

Zip Code Latitude Longitude City State County by Sami

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

ZipLatLon.m

image thumbnail

updated 6 months 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 12 months ago

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

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

Geodesics on an ellipsoid of revolution by Charles Karney

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

A1m1f(epsi)

A2m1f(epsi)

A3coeff(n)

image thumbnail

updated 1 year ago

Frechet Distance Calculator by Tristan Ursell

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

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

image thumbnail

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

distance2curve by John D'Errico

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

LatLon distance by M Sohrabinia

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

lldistkm.m

image thumbnail

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

NEARESTPOINT (sep 2012) by Jos (10584)

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

nearestpoint(x,y,m)

image thumbnail

updated 2 years ago

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

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

demo_ipdm

ipdm(data1,varargin)

image thumbnail

updated 2 years ago

interparc by John D'Errico

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

interparc(t,px,py,varargin)

image thumbnail

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

Image chamfer distances and geodesic diameter by David Legland

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

demoImChamferDistance

demoImGeodesicPath

demoImMaxGeodesicPath

image thumbnail

updated 2 years ago

2D Distance Transform of Arbitrary Points by Tristan Ursell

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 2 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 2 years ago

arclength by John D'Errico

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

arclength(px,py,varargin)

image thumbnail

updated 2 years ago

Pairwise Distance Matrix by Mo Chen

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

sqdistance(A, B, M)

image thumbnail

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

Minimum distance between two polygons by sjye

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

min_dist_btwn_two_polygons(P1,P2)

image thumbnail

updated almost 4 years ago

Mahalanobis Distance by Kardi Teknomo

Return mahalanobis distance of two data matrices A and B (row = object, column = feature) (mahalanobis distance, statistics, data mining)

d=MahalanobisDistance(A, B)

image thumbnail

updated almost 4 years ago

Covariance matrix by Kardi Teknomo

Return covariance matrix for given data matrix X (row = object, column = feature) (statistics, distance, data mining)

C=Covariance(X)

image thumbnail

updated almost 4 years ago

DNorm2 by Jan Simon

Euclidian norm along a specified dim of an array - fast C-Mex (2norm, norm, distance)

DNorm2(X, n)

uTest_DNorm2(doSpeed)

image thumbnail

updated 4 years ago

OpenSURF (including Image Warp) by Dirk-Jan Kroon

SURF (Speeded Up Robust Features) image feature point detection / matching, as in SIFT (registration, surf, opensurf)

D=FastHessian_BuildDerivative(r,c,t,m,b)

Iout=affine_warp(Iin,M,mode)

PaintSURF(I, ipts)

image thumbnail

updated 4 years ago

geodistance by Orlando Rodríguez

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

geodistance( ci , cf , m )

image thumbnail

updated 4 years ago

Draw Line Segments (anti aliased) by Alvin

Drawing line segments, Distances from line segments, and line segment masks (lines, image processing, line segment)

distanceFromLineSegment(x,y,p0,p1)

lineMask(imgSize, p0, p1, sigma)

image thumbnail

updated almost 6 years ago

Minimum distance between two polygons by Guillaume JACQUENOT

This function computes the minimum euclidean distance between two polygons P1 & P2. (polygon, distance, minimum)

curveintersect.m

min_dist_between_two_polygons.m

image thumbnail

updated almost 6 years ago

Minimum Distance loop between 'n' number of points by Rohit

This functions finds minimum distance loop between no.of points using the distance formula. (point, distance, measurement)

minimumdistance(X,Y,x,y)

image thumbnail

updated almost 6 years ago

GDIST by Andrew Stevens

Display distance and azimuth between two points on a figure (gui tools, distance, maps)

varargout=gdist(varargin)

Contact us