image thumbnail

updated 3 months ago

Pointsinpolyhedron-Test if points are in polyhedron by YuFei Guo

YuFei Guo (view profile)

Test if points are inside/outside/on single material or multi-material triangulated polyhedron (point, points, polyhedron)

Tutorial and examples of PINPOLYHEDRON function

first_step.m

image thumbnail

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

inpolygon_for_gpu by Sulimon Sattari

inpolygon function that works using gpuArray (gpu, inpolygon, parallel)

inpolygon_for_gpu(testx,testy,vertx,verty)

image thumbnail

updated 4 months ago

Numerical Integration Toolbox by George Papazafeiropoulos

Contains several numerical integration rules to evaluate the integral of a function (abscissa, adaptive, chebyshev)

Adaptive Numerical Quadrature Theory

Integration Point Calculation Theory

Quadrature Rule Theory

image thumbnail

updated 5 months ago

piecewise parabolic interpolation by Orlando Rodríguez

Code to interpolate function values and corresponding derivatives. (approximation, interpolation, derivatives)

ppinterp( x, y, xi )

image thumbnail

updated 1 year ago

intriangulation - which points are inside a 3d watertight triangulation? by Johannes Korsawe

Are 3D-testpoints located inside or outside an arbitrary watertight mesh with vertices and faces? (inside, 3d, point)

intriangulation(vertices,faces,testp)

image thumbnail

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

read and write PDB files using matlab by Evan

Evan (view profile)

These two programs accept and output a variety of PDB file-formatted data (bioinformatics, biotech, pdb)

mat2pdb(input)

pdb2mat(readFile)

image thumbnail

updated almost 2 years ago

Find Image Extrema by Tristan Ursell

Tristan Ursell (view profile)

Find local maxima, local minima, saddle points, and flat regions in an image. (image, maximum, maxima)

[x,y,z,c]=imextrema(im1,varargin)

image thumbnail

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

GINPUT on GUI (Keeping toolbar features on) & Use of custom pointers by Divakar Roy

Divakar Roy (view profile)

GUI Framework to use GINPUT (keeping all toolbar features on) + Custom pointers for plots and more. (ginput, gui, mouse)

ginput_gui.m

demo_ginput_gui.m

image thumbnail

updated almost 3 years ago

Get Rotation Matrix from 2 Orthogonal Planes by Gemma Parra

Computes a 3x3 rotation matrix from two orthogonal planes in a 3D point cloud. (rotation, matrix, 3d)

callbackClickARectangleLowerRight(src, eventData, pointCl...

callbackClickARectangleUpperLeft(src, eventData, pointClo...

getRMatrix(pointCloud)

image thumbnail

updated 3 years ago

dist2plane by Val Schmidt

A function to calculate the distance from a point to a plane. (mathematics, point, plane)

dist2plane(po,C)

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

Gravitational comparison between a point mass and prism mass model by Martin Fuchs

Gravitational quantities of a prism and a point mass are being derived for specified heights. (gravity, prism, point)

mPrismCart(x,y,z,mass,xi,yi,zi)

mpointCart.m

TestPrismMassModel.m

image thumbnail

updated 4 years ago

Feature Detection by GAGAN

GAGAN (view profile)

This function can be used for corner and edge detection for any RGB or grayscale image. (feature detction, edge detection, point detection)

O=feature_detection(input,varargin)

image thumbnail

updated 4 years ago

Absolute Orientation - Horn's method by Matt J

Matt J (view profile)

Solves weighted absolute orientation problem using Horn's quaternion-based method. (absolute orientation, quaternion, registration)

[Bfit,report]=absorient(A,B,doScale)

[Bfit,report]=absorient(A,B,doScale)

[Bfit,report]=absorient(A,B,doScale)

image thumbnail

updated 5 years ago

Position of a point and a straight line or segment by Nassim Khaled

Nassim Khaled (view profile)

It determines the relative position of a point with respect to a planar segment or st. line (position, point, straight line)

Pos=Position(A,B,C)

image thumbnail

updated 5 years ago

Click3dPoint by Babak Taati

Select a point from a 3D point cloud by clicking on it. (gui tools, mouse, click)

callbackClickA3DPoint(src, eventData, pointCloud)

clickA3DPoint(pointCloud)

rowNorm(A)

image thumbnail

updated almost 6 years ago

IEEE 754r Half Precision floating point converter by James Tursa

James Tursa (view profile)

Converts MATLAB or C variables to/from IEEE 754r Half Precision floating point bit pattern. (half precision, ieee 754r, ieee 754)

halfprecision(varargin)

halfprecisionmax

halfprecisionmin

image thumbnail

updated almost 6 years ago

msopen by Fahad Al Mahmood

Opens Microsoft Office files (Word, Excel, Power Point, Project, & Access). (path, directories, files)

msopen(varargin)

image thumbnail

updated 6 years ago

inside triangle by Nassim Khaled

Nassim Khaled (view profile)

inside_triangle is used to check if a point P is inside the triangle P1P2P3 or not. (triangle, plane, inside)

True=inside_triangle(P,P1,P2,P3);

image thumbnail

updated 6 years ago

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

Rohit (view profile)

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

image thumbnail

updated 7 years ago

Distance from a point to polygon by Alejandro Weinstein

Calculate the distance from a point to 2-D polygon, and the point on the polygon closest to the poin (polygon, point, distance)

image thumbnail

updated 7 years ago

Contour edition by Vincent Garcia

Vincent Garcia (view profile)

Edit an object contour using mouse interactions (contour edition, point, square)

ctr_editContour(img,o_ctrType,o_ctr)

test()

image thumbnail

updated 8 years ago

Figure out residue of a function of complex variable by Pu Ke

Pu Ke (view profile)

Try to figure out all residues of corresponding singular point (symbolic math, residue, function)

image thumbnail

updated 8 years ago

Digital Image Filtering by James Wilcox

Performs Point and Spatial Operations and their histograms (filtering, point, spatial operations)

image thumbnail

updated almost 9 years ago

MEX_SHAPE by John Evans

John Evans (view profile)

Reads in common ESRI shapefile formats. (data import, data export, shapefile)

mex_shape ( shapefile )

mex_shape ( shapefile )

shape_get ( shapefile )

image thumbnail

updated almost 10 years ago

peaks by Nagi Hatoum

Nagi Hatoum (view profile)

Find the peaks and troughs in a vector. (peak, through, maximum)

image thumbnail

updated 10 years ago

PCAANGLE by Jøger Hansegård

Estimate the direction of the major axis of two dimensional point data. (linear algebra, angle, direction)

image thumbnail

updated 10 years ago

curvspace by Yo Fukushima

Generate evenly spaced points along an existing curve in 2D or 3D. (approximation, interpolation, linspace)

image thumbnail

updated 11 years ago

Orthotomic surface of a Bezier surface by Bui Quoc Tinh

Bui Quoc Tinh (view profile)

Drawing the orthotomic surface of a bezier surface. (specialized, plotting, orthotomic)

Bepoly=B(i,n,u)

Bepoly=B_daoham(i,n,u)

f=factorial(n)

image thumbnail

updated 11 years ago

Co_drag by Chuyen Nguyen Kim Le

Dragging source point for Orthotomic curve. (data exploration, drag, source)

animator(action)

orthotomic.m

image thumbnail

updated 13 years ago

DispCoord1&2.m by Zhihua He

Zhihua He (view profile)

Display 2-D and 3-D coordinates. (annotation, customization, 2d)

DispCoord1(Mode)

DispCoord2

image thumbnail

updated 17 years ago

fpbin.c by James Stine

View a double precision floating-point number in binary, hex, and its correct stored value. (mex, floating, point)

Contact us