image thumbnail

updated 10 days ago

Pointsinpolyhedron-Test if points are in polyhedron by guo YuFei

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

Non self-intersecting polyline by George Papazafeiropoulos

Connect given points in plane with a polyline which does not intersect itself (polyline, intersect, plane)

Check if a closed polyline intersects itself

Draw lines passing once through given points, with respec...

Non-self-intersecting polyline passing through given poin...

image thumbnail

updated 10 months 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

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

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

mat2pdb(input)

pdb2mat(readFile)

image thumbnail

updated 1 year ago

Find Image Extrema by Tristan Ursell

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

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

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

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

Feature Detection by GAGAN

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

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

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

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

IEEE 754r Half Precision floating point converter by James Tursa

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

inside triangle by Nassim Khaled

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 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)

image thumbnail

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

Contour edition by Vincent Garcia

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

ctr_editContour(img,o_ctrType,o_ctr)

test()

image thumbnail

updated almost 8 years ago

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

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

MEX_SHAPE by John Evans

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

mex_shape ( shapefile )

mex_shape ( shapefile )

shape_get ( shapefile )

image thumbnail

updated 9 years ago

peaks by Nagi Hatoum

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

image thumbnail

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

curvspace by Yo Fukushima

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

image thumbnail

updated 10 years ago

Orthotomic surface of a Bezier surface by Bui Quoc Tinh

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 10 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 12 years ago

DispCoord1&2.m by Zhihua He

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

DispCoord1(Mode)

DispCoord2

image thumbnail

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