image thumbnail

updated 1 month ago

Oscillator and Signal Generator by W. Owen Brimijoin

A simple command-line function for generating standard waveforms, click trains and noise bursts. (signal generator, signal processing, oscillator)

oscillator(varargin)

image thumbnail

updated 2 months ago

Generation of triangular wave by Michele Antolini

This function allows the generation of a triangular wave. (triangle, triangular, wave generation)

triangle(t)

image thumbnail

updated 3 months ago

A suite of minimal bounding objects by John D'Errico

Suite of tools to compute minimal bounding circles, rectangles, triangles, spheres, incircles, etc. (miminum, bound, bounding)

incircle(x,y)

insphere(xyz,tri)

minboundcircle(x,y,hullflag)

image thumbnail

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

Triangle/Ray Intersection by Jaroslaw Tuszynski

Fast vectorized triangle/ray intersection algorithm (computer graphics, intersection, ray)

Tutorial and tests of TriangleRayIntersection function

TriangleRayIntersection.m

image thumbnail

updated almost 2 years ago

Triangle Triangle Contact by David Johnson

Determines whether two triangles are touching (triangle, collision, intersection)

triTriContact( t1, t2 )

image thumbnail

updated almost 2 years ago

Waveform Generator GUI by Maxim Vedenyov

Generate waveformed signal and play it. Interactive GUI with movable datapoints. (waveform, gui, signal processing)

Waveform Generator GUI

bdf(ha,hfl,uf)

hfl=create_marker(ha,x,y,r,c,uf,no)

image thumbnail

updated 2 years ago

Find angles by Siva Srinivas Kolukula

Find angles of triangle and/or quadrilateral when vertices are given. (triangle, quadrilateral, angles)

FindAngles(vertices)

QUADangles(vertices)

TRIangles(vertices)

image thumbnail

updated 2 years ago

Spherical Triangle Plot Script by Jacco

Draws a spherical triangle on a unit sphere, given its coordinates. (aerospace, space, mission geometry)

drawSphericalTriangle(P1,P2,P3,varargin)

image thumbnail

updated almost 3 years ago

tritrig by 123456

Tells you the unknown angles and length of a triangle by using the given information about it (triangle, sin, cos)

dd=tritrig(a,b,c,A,B,C)

image thumbnail

updated 3 years ago

intersectPlaneSurf II by Mehmet OZTURK

Intersection of a plane with an arbitrary surface (intersection, plane, surface)

intersectPlaneSurf.m

image thumbnail

updated 3 years ago

IntersectPlaneTriangle mex by Mehmet OZTURK

Calculation of intersection between a plane and a triangle (intersection, plane, triangle)

example.m

image thumbnail

updated 3 years ago

INTERPNS by John D'Errico

N-dimensional simplicial interpolation (interp2, interpolation, interpolant)

interpns(V,Xi,nodelist,method)

image thumbnail

updated 3 years ago

Fast STL import function by Eric Trautmann

Function to import .stl geometry model files into matlab. (geometry, stl, model)

varargout=import_stl_fast(filename,mode)

image thumbnail

updated almost 4 years ago

Distance between a point and a triangle in 3D by Gwendolyn Fischer

pointTriangleDistance calculates the distance between a point and a triangle in 3D. (computational geometr..., graphics, geometry)

pointTriangleDistance(TRI,P)

image thumbnail

updated 4 years ago

Virtual Signal Generator by Thomas Reid

GUI with all the functionality of a standard signal generator, but without expensive equipment. (waveform, signal, sinusoidal)

VirtualSignalGenerator(varargin)

image thumbnail

updated 4 years ago

Smooth Triangulated Mesh by Dirk-Jan Kroon

Accurate smoothing of triangulated patch / mesh (curvature, curvature flow, smoothing)

FV2=smoothpatch(FV,mode,itt,lambda,sigma)

Ne=vertex_neighbours(FV)

Ne=vertex_neighbours_double(Fa,Fb,Fc,Vx,Vy,Vz)

image thumbnail

updated almost 5 years ago

Triangle Subdivide (vectorized/fast) by Peter Karasev

vectorized 4x triangle subdivision: subdivide_tri.m (mesh, triangle, triangulate)

subdivide_tri( xyz, faces )

image thumbnail

updated 5 years ago

Ray/Triangle Intersection by Jesús P. Mena-Chalco

Ray/triangle intersection using the algorithm proposed by Möller and Trumbore (1997) (ray, triangle, intersection)

rayTriangleIntersection (o, d, p0, p1, p2)

test.m

image thumbnail

updated 5 years ago

Unstructured triangle mesh quality assesment by Allan Peter Engsig-Karup

Assess the quality of a triangle mesh using a simple indicator. (unstructured, triangle, mesh)

MeshQuality(EToV,VX,VY)

image thumbnail

updated 5 years ago

Edges generation by Jan Valdman

Algorithm generates edges of a conforming 2D/3D triangulation. (edges generation, matrix, 2d)

[element2edges, edge2nodes]=getEdges(elements)

[matrix,I]=deleterepeatedrows(matrix)

entryrows=entryInWhichRows(A)

image thumbnail

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

"boundary" class v2.1: a wrapper for surface objects by Kenneth Eaton

Adds functionality for fast detection of intersections between line segments and rendered surfaces (plotting, boundary, surface)

boundary(hObject,varargin)

delete(boundaryObject)

format_param_list(paramList,nObjects)

image thumbnail

updated 6 years ago

Plot3 Shaded Line by Dirk-Jan Kroon

Like plot3, but will plot a real (round, flat, triangle, squared) thick shaded 3D line (specialized, plotting, plot3)

hiso=plot3t(varargin)

image thumbnail

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

Ternplot by Carl Sandrock

Plots ternary phase data on a ternary phase diagram. (specialized, plotting, ternary)

deg2rad(deg)

fractions(A, B, C)

simpletri(N);

image thumbnail

updated 7 years ago

Multi-Dimensional Gauss Points and Weights by Brent Lewis

Gives the gauss points and weights for 1-D through 3-D along with 6 node triangular finite element (integration, gauss points, weights)

md_gauss(n,dimension,symbolic,type)

image thumbnail

updated almost 8 years ago

DAC Output using Data Acq Toolbox Demo by Rene Messier

Use Data Acq Toolbox along with DataTranslation USB module to produce waveforms (example, application, dac)

OutputChans(varargin)

image thumbnail

updated 8 years ago

n-dimensional simplex quadrature by Greg von Winckel

% Construct Gauss points and weights for a n-dimensional simplex (integration, guass quadature, simplex)

[X,W]=simplexquad(varargin)

image thumbnail

updated 8 years ago

Gaussian Quadrature for Triangles by Greg von Winckel

Compute Gauss nodes and weights for a triangle (integration, triangle, triangular)

[X,Y,Wx,Wy]=triquad(N,v)

Contact us