image thumbnail

updated 14 hours ago

fastscatter.m by Aslak Grinsted

A much faster scatterplot (scatter, scatterplot, points)

h=fastscatter(X,Y,C,varargin)

image thumbnail

updated 12 days ago

pointonsphere by Leevan Ling

Put N uniformly distributed points on unit sphere. (differential equation..., uniformly, distributed)

pointonsphere(N)

image thumbnail

updated 2 months ago

inpoly mex file by Sebastien PARIS

Find points inside or on the border of a polygon (inpoly, points, inside)

test_inpoly

mexme_inpoly.m

image thumbnail

updated 8 months ago

Active Figure Zoom for Selecting Points by Tristan Ursell

Select points at a user-specified zoom level that moves around the image as you click. (figure, zoom, select)

[X,Y]=getline_zoom(Im1,varargin)

image thumbnail

updated 9 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

Particle Point Analysis by Ian Hosein

Manually grab locations on an image or load points for further analysis. (particles, colloids, correlation functions)

ParticleAnalysisProgram(varargin)

[S]=bond_order_parameters(x_particle, y_particle, nn, num...

[S]=bond_order_parameters_two(x_particle, y_particle, poi...

image thumbnail

updated 1 year ago

distributePointsOnPolygon by Wouter

This function distributes polygon points evenly across the polygon. (polygon, distribution, points)

distributePointsOnPolygon( varargin )

image thumbnail

updated 1 year ago

Grid of points within a polygon by Sulimon Sattari

This function generates an array of points that lie within a given polygon (polygon, points, point)

polygrid( xv, yv, ppa)

image thumbnail

updated 1 year ago

Generate points from given conic (A,B,C,D,E,F) by Juan

generate points from ellipse, hyperbola, circles, etc. (mathematics, conics, ellipse)

points_from_conic(A,B,C,D,E,F, domain,number_points, nois...

image thumbnail

updated 1 year ago

video from random points by Maxim Vedenyov

probability controled by frames of video (rejection sampling, video, random)

from_gif.m

from_gif_to_avi.m

from_gif_to_gif.m

image thumbnail

updated 1 year ago

EXPLODE by hastin kauky

EXPLODE OF POINTS USING MATLAB (explode, points)

explode(N,ITER)

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

circlefit3d - fit circle to three points in 3d space by Johannes Korsawe

Calculate center, radius and plane of circle that passes through three given points (circle, points, fit)

circlefit3d(p1,p2,p3)

image thumbnail

updated 2 years ago

Snake : Active Contour by Dirk-Jan Kroon

Snake Segmentation (Kass et al), 2D/3D including GVF and balloon force (Easy to read code) (snakes, active, contour)

B=SnakeInternalForceMatrix2D(nPoints,alpha,beta,gamma)

B=SnakeInternalForceMatrix3D(FV,alpha,beta,gamma)

ExternalForceImage2D(I,Wline, Wedge, Wterm,Sigma)

image thumbnail

updated 2 years ago

2D Line Curvature and Normals by Dirk-Jan Kroon

Accurate Curvature and Normals of a line/contour consisting of 2D points (normals, normal, curvature)

N=LineNormals2D(Vertices,Lines)

k=LineCurvature2D(Vertices,Lines)

image thumbnail

updated 3 years ago

ptimtransform by Maxime

ptimtransform transforms an image and a list of points all together. (transform, image, points)

ptimtransform(pts,img,T)

image thumbnail

updated almost 4 years ago

Curve intersections by NS

Fast computation of intersections and self-intersections of curves using vectorization. (curves, intersections, polygons)

InterX(L1,varargin)

image thumbnail

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

Fast Eyetracking by Peter Aldrian

Extract feature points from faces to track eye's movement (image processing, demo, eye)

[L]=lineint(I,C,r,n,part)

[O]=drawcircle(I,C,r,n)

[b,r,blur]=partiald(I,C,rmin,rmax,sigma,n,part);

image thumbnail

updated 5 years ago

Approximation of Circle Using Cubic Bezier Curve by Dr. Murtaza Khan

Approximation of unit radius circle with four parametrix bezier curves (approximation, interpolation, circle)

PlotBezier1(Px,Py,n)

[Qx,Qy]=CubicBezier1(Px,Py,n)

TestCircleApproxByCubicBezier.m

image thumbnail

updated 5 years ago

Multi Slider by Wilko de Jong

Graphically set and change any number of values within a specified range. (gui tools, example, slider)

MultiSlider (varargin)

image thumbnail

updated 5 years ago

myfrenet by Mehmet OZTURK

Construct tangent, normal and binormal vectors of a curve (tangent, normal, binormal)

[T N B]=myfrenet(x,y,z,init)

image thumbnail

updated almost 6 years ago

Fast InPolygon detection MEX by Guillaume JACQUENOT

Fast detection points inside a polygonal region (inpolygon, mex, polygon)

InPolygon_Test.m

image thumbnail

updated 6 years ago

POINTS2CIRCLE by Jos (10584)

determine the circle through 3 points (v2.0) (linear algebra, fit, circle)

points2circle(P,P2,P3)

image thumbnail

updated 6 years ago

Triangle Area and Angles v1.3 by Dirk-Jan Kroon

Calculates the area and angles of any triangle described by 2D,3D..nD points (triangle, polygon, area)

[angles]=triangle_angles(P,format)

[area]=triangle_area(P,method)

image thumbnail

updated 7 years ago

meetpoint by M MA

Meet points points and slopes of curves. (approximation, interpolation, intersection)

meetpoint(x0,y0,x1,y1)

image thumbnail

updated 7 years ago

Semi-Automated Outlining by Gaurav Sehgal

Allows user to draw and modify outline in an image (gui, display, annotation)

drawspline(ud)

orderlayers

prg(varargin)

image thumbnail

updated 7 years ago

Finds convex polygon defined by random 2D points by christian delusier

Finds convex polygon defined by random 2D points (polygon, convex, finds)

Return_points_polyg_direct.m

image thumbnail

updated 7 years ago

Minkoski Curve by Mahdi Heravi

This matlab file generate minkoski Curve (fractals, minkoski, curve)

minkoskioski(x1,y1,x2,y2,n)

image thumbnail

updated 7 years ago

Interactive GUI: Animated conic section through five points by Michael Kleder

Drag each of five data points in the GUI window to animate a conic section (Symbolic Math Toolbox). (data exploration, interactive gui, animated)

conicfive

image thumbnail

updated almost 8 years ago

Bezier curve by Nguyen Quoc Duan

Draw a Bezier curve passing through 6 given points (specialized, plotting, bezier curves)

B_para=B_para(i,n,t)

C=C(i,n)

f=factorial(n)

image thumbnail

updated almost 8 years ago

2D Histogram Matrix by Kangwon Lee

Returns a matrix of number of points in each bins defined by two vectors. (statistics, probability, histogram)

Plot2dHist(mHist2D, vEdgeX, vEdgeY, strLabelX, strLabelY,...

hist2d (mX, vYEdge, vXEdge)

image thumbnail

updated 8 years ago

fgridmin.m by Kenneth Johnson

global minimization utility (optimization, global optimization, utility)

fgridmin(y)

image thumbnail

updated 8 years ago

click_fit by Nassim Khaled

You can now choose some arbitrary points by using the mouse, and fit a curve on the top of your ... (fit, click, curve)

[p]=click_fit(nb_data_pts,order_poly,xmin,xmax,ymin,ymax)

image thumbnail

updated 9 years ago

Polyfit at Chebyshev Points by Tyrone Uy

Program demo using polyfit for plot chebyshev points. (polyfit, chebyshev, points)

Chebyshev2b.m

image thumbnail

updated 9 years ago

Fast Chebyshev Transform (1D) by Greg von Winckel

Transfroms between nodal and spectral values. (approximation, interpolation, fast)

B=fcgltran(A,direction)

image thumbnail

updated 9 years ago

Weighted Grid Points by Greg von Winckel

Computes the Lobatto points for an arbitrary weight. (approximation, interpolation, pseudospectral)

[xg,D]=wgrid(w,N)

image thumbnail

updated 10 years ago

pos2dist by Langqiu Sun

Calculate distance between two points on earth's surface given by latitude-longitude pair. (distance, points, surface)

pos2dist(lag1,lon1,lag2,lon2,method)

image thumbnail

updated 10 years ago

Fractal Fern by Brian Mearns

Compute and display a pseudo-random collectin of points resembling a fern (fractals, fractal fern, points)

FractalFern.m

image thumbnail

updated 10 years ago

Marking Fig by Rajkishore Prasad

It places markers on the Figure. (annotation, customization, marker)

placemarker.m

image thumbnail

updated 11 years ago

stationary by James Rooney

Stationary gives the index points for stationary points in the function described by vectors x and y (stationary, points, index)

[ind]=stationary(x,y,type)

stationtest(type)

image thumbnail

updated 11 years ago

Connecting Two Points by Kang Zhao

connecting two points with a line with arrowhead (specialized, plotting, arrow)

drawarrow(x1,x2,y1,y2,len)

image thumbnail

updated 12 years ago

brlinexya by Andrew Diamond

Implementation of Bresenham line algorithm. (specialized, plotting, bresenham)

[Coords]=brlinexya(Sx,Sy,Ex,Ey)

image thumbnail

updated 12 years ago

Image to data by Sumeet Yamdagni

Converts images to data points. (image analysis, image plots, converting images)

[X,Y]=imdatsep(x,y,x1,y1,sen);

[X,Y]=imdatsort(x1,y1)

[Xmean,Ymean1]=im2dat(Inputfile,xscale,yscale,option1,opt...

image thumbnail

updated 14 years ago

nearest.m by Heekwan Lee

A different version of the 'find' function used to collect the nearest values to the pin points. (find, nearest, function)

nearest(Numbers,PinPoints)

image thumbnail

updated 14 years ago

ConnectFunc by Paul Nuschke II

A function connecting two points in an image with a line of ones. (gui, display, annotation)

newout=ConnectFunc(binimg,row1,col1,row2,col2)

Contact us