Main Content

2,678 results in File Exchange

Curve intersections

Version 1.5.0.0 by NS

Fast computation of intersections and self-intersections of curves using vectorization.

While a few other functions already exist in FEX that compute the intersection points of curves, this short piece of code was written with speed being the highest priority. No loops are used

- INTERX Intersection of curves
  • 30.7K (All time)
  • 13 (Last 30 days)
  • 4.7 / 5
  • Community
  • 24 Sep 2010

Fast and Robust Curve Intersections

Version 3.0.0.0 by Douglas Schwarz

Computes intersection points of two curves.

This function computes the (x,y) locations where two curves intersect. The curves can be broken with NaNs or have vertical segments. It is also very fast (at least on data that represents what I

- Intersections of curves.
  • 44.6K (All time)
  • 18 (Last 30 days)
  • 4.9 / 5
  • Community
  • 31 May 2024

Fast and Robust Self-Intersections

Version 1.0.0.0 by Antoni J. Canós

Computes the self-intersections of a curve.

This function computes the locations where a curve self-intersects in a fast and robust way. The curve can be broken with NaNs or have vertical segments. Segments of the curve involved in each of the

- SELFINTERSECT Self-intersections of a curve.
  • 2.6K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 13 Dec 2006

Curve Intersect 2

Version 1.0.0.0 by Sebastian Hölz

Finds the intersection points between two arbitrary polygons.

GeneralThis file is based on the Curve Intersect function by Duane Hanselman. It extends the scope of the function to handle arbitrary lines / polygons, which may also have vertical segments or

  • 11.5K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 16 Feb 2007

Vehicle Dynamics GUI

Version 1.0 by Andoni Medina Murua

This is a Graphical User Interface to calculate the Yaw Moment Diagram and Phase Portrait of a vehicle based on the bicycle model.

- Intersections of curves.
  • 1.4K (All time)
  • 8 (Last 30 days)
  • 5.0 / 5
  • Community
  • 5 Mar 2021

Multiple curve and line intersection.

Version 1.0.11 by Rahul punk

many line and curve intersection.

easy to use for any type of line and curve intersection with example.

  • 180 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 5 May 2021

Plotting intersection curves for implicit surfaces

Version 1.0.0.0 by Leif Persson

Plot intersection curves for implicit surfaces

Implicit surfaces can be plotted with the isosurface function, but to my knowledge there is no function for plotting the intersection curve between two implicit surfaces. The isocurve3 function

  • 144 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 2 Mar 2016

Antenna Design Wizards

Version 1.0.0.0 by Rael Sinai

Program to simplify design of antennas, through the use of interactive design curves

This program was written as part of a university project.The program uses design curves to allow users to design antennas. The design curves are interactive - i.e., click and drag with the mouse. The

- Curve Intersections.
- It is assumed that multiple traces (curves) are defined for all
  • 9.8K (All time)
  • 4 (Last 30 days)
  • 4.4 / 5
  • Community
  • 21 Feb 2006

BrakeDesignCalculator

Version 1.0.0.0 by Miroslav

/

- interparc: interpolate points along a curve in 2 or more dimensions
  • 290 (All time)
  • 10 (Last 30 days)
  • 4.0 / 5
  • Community
  • 26 Jun 2018

geom2d

Version 1.25 by David Legland

Geometry library for matlab. Performs geometric computations on points, lines, circles, polygons...

an intuitive syntax. Ex: createCircle(p1, p2, p3) to create a circle through 3 points, create parallel and perpendicular lines* compute intersections between 2 lines, between a line and a circle* work

- Intersection of curves.
- Find self-intersection points of a polyline.
- Find self-intersection points of a polygon.
- Compute inertia moment of a 2D curve.
- Compute centered inertia moment of a 2D curve.
- Compute centered scaled moment of a 2D curve.
- Draw a polynomial curve approximation.
- Compute the centroid of a polynomial curve.
- Compute the length of a polynomial curve.
- Compute derivative vector of a polynomial curve.
- Compute the normal of a polynomial curve.
- Projection of a point on a polynomial curve.
- Compute the local curvature of a polynomial curve.
- Fit a polynomial curve to a series of points.
- Compute position on a curve for a given length.
- Intersection of two bounding boxes.
- Intersection points of two circles.
- Fit a set of polynomial curves to a segmented image.
- Draw a cubic bezier curve defined by 4 control points.
- Demo of the polynomialCurveSetFit function
- Fit a set of polynomial curves to a segmented wing
- Compute curvatures of a polynomial revolution surface.
- Compute point corresponding to a position.
- Return all intersections between two set of edges.
- Intersection point of an edge with a polygon.
- Intersection points between a line and a polygon.
- Intersection points between a line and a polyline.
- Return intersection between a line and an edge.
- Intersection points between a ray and a polygon.
- Intersection point(s) of a line and a circle.
- Return all intersection points of N lines in 2D.
- Polynomial approximation of a curve.
- Find the common points between 2 polylines.
- Compute equivalent polyline from bezier curve control.
- Derivate a polynomial.
- Compute centroid of a curve defined by a series of points.
  • 34.4K (All time)
  • 5 (Last 30 days)
  • 4.1 / 5
  • Community
  • 26 Sep 2019

gptoolbox

Version 1.1.0.0 by Alec Jacobson

Useful functions for geometry processing, constrainted optimization and image processing.

colorization, diffusion curves - exact (un)signed distance field computation for meshes - constructive solid geometry operations on meshes, booleans - accelerated point location in triangle and tetrahedral

- Intersect two cubic Bezier curves.
- Given a closed curve find an inner and outer offset curve.
- Intersections of line segments.
- Construct a (properly slitted) mesh for a given set of curves and
- 2D Ray/polygon intersection
- Get a curve (sequence of points) from the user by dragging
- Get many pencil curves
- Isometric flow for curves as described by "Robust
- Determine if a set of edges in 2D has any intersections
- Intersect a closed mesh (V,F) with a half space
- Evaluate a cubic Bezier curve.
- Uniformly sample an input curve
- Plot a cubic Bezier curve
- Evaluate a cubic Bezier curve.
- "Piecewise Linear Approximation of Bézier Curves" [Fischer
- build a strip of triangles given a curve
- Generate a cookie cutter model from a curve
- Construct a reuleaux triangle (curve of constant width)
- Recursively subdivide a cubic Bezier curve until each
- **signed** area inside a closed cubic spline curve
- Given a G¹ continuous sequence of cubic Bézier curves,
- compute pointwise curvature on a closed piecewise-linear curve P
- Build a triangle mesh "cage" surrounding an input spline curve
- Given a cubic Bezier curve C split at all given paramter
- Generate a "wedding cake" mesh from a curve and a list of
- Split a cubic Bezier curve at parameter t, producing a left and
  • 9.6K (All time)
  • 12 (Last 30 days)
  • 4.3 / 5
  • Community
  • 22 Jul 2024

HaizhaoYang/SynLab

Version 1.0.0.0 by Haizhao Yang

Multidimensional Synchrosqueezed Transforms

- Intersection of curves
  • 918 (All time)
  • 2 (Last 30 days)
  • 3.7 / 5
  • Community
  • 19 Nov 2015

Color-based Reflection Symmetry Detection

Version 1.0.0.0 by Mohamed Elsayed Elawady

Detects global reflection symmetry axes inside an image

- Intersections of curves.
  • 160 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 16 Nov 2021

Curve intersection

Version 1.2.0.0 by Johan Rønby

Finds intersections of two piecewise linear plane curves.

[xs,ys] = cint(x1,y1,x2,y2) finds intersection points of the curves defined by straight lines between the length(x1) points in the plane, (x1,y1), and the length(x2) points in the plane (x2,y2).The

  • 794 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 6 Oct 2009

Algebraic Curve Intersection Explorer

Version 1.01 by Duncan Carlsmith

Live Script finding intersections of affine algebraic curves.

An affine algebraic curve is a planar curve described by a polynomial equation in two variables x and y. The intersections of two such curves may be found analytically with solve or numerically with

  • 7 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 9 Feb 2026

BacterialBilliards

Version 1.0.2.0 by Matthew Sparkes

A set of Matlab functions which solve the "bacterial billiards" problem in closed confinement.

following url,https://www.mathworks.com/matlabcentral/fileexchange/22441-curve-intersectionsand is included as a dependency in the code.

- Intersection of curves
  • 3 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 16 Jul 2024

splinecloud-matlab

Version 1.0.3.0 by Konstatntin Shabalev

Matlab NURBS library

getYByX(nurbs, xPoints(i));endplot(xPoints, yPoints);Uses:NURBS Toolbox by D.M. SpinkCurve intersections

- Intersection of curves
- creates NURBS curve
- returns Y value of the NURBS curve by given T parameter
- fetches curve data from splinecloud.com by curve's id
- extracts control points and knots from the NURBS curve
- returns X value of the NURBS curve by given T parameter
  • 47 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 13 Sep 2023

Intersection Navigation and Path Estimation

Version 1.0.0 by McSCert

This tool is an extension of to the autonomous driving toolbox for: directed graph creation, path estimation, and vehicle to vehicle communi

Intersection-Navigation-and-Path-EstimationVersion 1.0September 2020IntroductionThis tool is an extension of to the autonomous driving toolbox for: directed graph creation, path estimation, and

- Intersection of curves
- : compute arc length of a space curve, or any curve represented as a sequence of points
  • 90 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 11 Nov 2021

VELAS

Version 1.0.5 by Ran Zheng

VELAS is a user-friendly open-source toolbox for the visualization and analysis of elastic anisotropy written in GNU Octave that can be used

  • 66 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 16 Jul 2024

Surface Intersection

Version 1.0.0.0 by Jaroslaw Tuszynski

Intersection of two triangulated surfaces

Function calculates intersection of any two triangulated surfaces using triangle/triangle intersection algorithm proposed by Tomas Möller (1997) and implemented as highly vectorized MATLAB code. The

  • 4.4K (All time)
  • 3 (Last 30 days)
  • 4.8 / 5
  • Community
  • 1 Dec 2014

distance2curve

Version 1.1.0.0 by John D'Errico

Find the closest point on a (n-dimensional) curve to any given point or set of points

I've seen many people ask for a way to find the closest point on a curve from some given point in space. If the curve is a piecewise linear one, this is not too difficult, since this reduces to

- distance2curve: minimum distance from a point to a general curvilinear n-dimensional arc
  • 7.8K (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 27 Feb 2013

Triangle/Ray Intersection

Version 1.7 by Jaroslaw Tuszynski

Fast vectorized triangle/ray intersection algorithm

Ray/triangle intersection using the algorithm proposed by Möller and Trumbore (1997), implemented as highly vectorized MATLAB code. The algorithm can work with one and two sided surfaces, as well as

  • 6.6K (All time)
  • 10 (Last 30 days)
  • 4.6 / 5
  • Community
  • 18 May 2018

straight line and plane intersection

Version 1.0.0.0 by Nassim Khaled

plane_line_intersect computes the intersection of a plane and a segment(or

%plane_line_intersect computes the intersection of a plane and a segment (or a straight line)% Inputs: % n: normal vector of the Plane % V0: any point that belongs to the Plane % P0: end point 1

- plane_line_intersect computes the intersection of a plane and a segment(or
  • 7.9K (All time)
  • 2 (Last 30 days)
  • 4.7 / 5
  • Community
  • 27 Nov 2007

interparc

Version 1.3.0.0 by John D'Errico

Distance based interpolation along a general curve in space

A common request is to interpolate a set of points at fixed distances along some curve in space (2 or more dimensions.) The user typically has a set of points along a curve, some of which are closely

- interparc: interpolate points along a curve in 2 or more dimensions
  • 13K (All time)
  • 19 (Last 30 days)
  • 5.0 / 5
  • Community
  • 16 Aug 2012

Fast Line Segment Intersection

Version 1.1.0.0 by U. Murat Erdem

Finds the pairwise intersection points between line segments in 2D Cartesian space.

OUT = LINESEGMENTINTERSECT(XY1,XY2) generates intersection analysis between the line segment sets given in XY1 and XY2. Code can handle coincident and parallel lines.The main emphasis is on speed

- LINESEGMENTINTERSECT Intersections of line segments.
- True if you want to display the results.
  • 7.8K (All time)
  • 2 (Last 30 days)
  • 4.9 / 5
  • Community
  • 10 Apr 2010

plane intersection

Version 1.1.0.0 by Nassim Khaled

It computes the intersection of two planes in space.

and Plane 2 coincide% 2:Plane 1 and Plane 2 intersect)% Example:% Determine the intersection of these two planes:% 2x - 5y + 3z = 12 and 3x + 4y - 3z = 6% The first plane is

- plane_intersect computes the intersection of two planes(if any)
  • 4.9K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 2 Apr 2011

Fast mesh-mesh intersection using ray-tri intersection with octree spatial partitioning.

Version 1.5.0.0 by Thomas Seers

Fast mesh-mesh intersection based on ray-tri solution. Octree partitioning gives large speed-up.

% Putative points of intersection between each pair of surfaces are located% by assuming that each constituent mesh triangle edge represents an% infinitesimal ray, then solving the ray-triangle

- Find intersection line between mesh A and mesh B using ray-triangle
- Vectorized ray-triangle intersection algorithm of Muller and Trumbore
  • 1.2K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 16 Feb 2015

Curvature of a 1D curve in a 2D or 3D space

Version 1.2.8 by Are Mjaavatten

Calculates the local radius of curvature as well as the cumulative arc length and the curvature vector along a 1D curve in 2D or 3D space

the curve. The curvature is defined as . The curvature vector is , where is the unit vector in the direction from to the center of the circle.Note that this local calculation is sensitive to noise

  • 5.7K (All time)
  • 3 (Last 30 days)
  • 4.8 / 5
  • Community
  • 10 Nov 2021

3D curves

Version 1.0.0.0 by Jesús P. Mena-Chalco

Examples of 3D curves described in Chapter 7 of the book: "CRC Standard Curves and Surfaces"

Examples of Three dimensional curves described in Chapter 7 ofthe book: "CRC Standard Curves and Surfaces" by David von Seggern (1993).The zip file includes the following curves:a) Helical curves

- Section 7.1: Helical curves
  • 2.1K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 30 Aug 2009

Analyze N-dimensional Convex Polyhedra

Version 1.9.0.2 by Matt J

Find vertex or (in)equality forms of convex polyhedra in R^n (for n not super large). Also, compute their intersections and unions.

column vectors, respectively. The (in)equality representation expresses the polyhedron as the intersection of two regions. One region is a solid N-dimensional shape, described by the inequalities, while

- - computes a bounded convex polyhedron resulting from the
  • 6.6K (All time)
  • 5 (Last 30 days)
  • 4.9 / 5
  • Community
  • 21 Mar 2021

impedance matching microwave engineering POZAR chapter 05 exercise 03

Version 1.1.0.0 by John BG

impedance matching microwave engineering POZAR chapter 05 exercise 03

- INTERSECTIONS Intersections of curves.
  • 210 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 11 Jun 2018

Fill Between Area Curve

Version 1.0 by Avinash

The Fill Between Area Curve creates a shaded area between two data series, effectively highlighting the region of overlap or difference.

# Fill Between Area Curve[![View Fill Between Area Curve on File

  • 754 (All time)
  • 6 (Last 30 days)
  • 5.0 / 5
  • Community
  • 10 Aug 2023

MINTERSECT -- Multiple set intersection.

Version 1.0.0.0 by David Fass

A generalization of INTERSECT to handle multiple inputs.

- MINTERSECT Multiple set intersection.
  • 5.5K (All time)
  • 2 (Last 30 days)
  • 4.8 / 5
  • Community
  • 1 Nov 2004

Parallel Curves

Version 1.1.0.0 by Edward Zechmann

Generates the outer and inner parallel curves in rectangular coordinates.

Simple program to generate the inner and outer parallel curves in rectangular coordinates. inner parallel is toward the center of curvature and outer parallel is away from the center of curvature

  • 2K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 25 Sep 2010

gaussian curve fit

Version 1.0.0.0 by Yohanan Sivan

gaussian curve fit

  • 34.2K (All time)
  • 3 (Last 30 days)
  • 4.3 / 5
  • Community
  • 19 Jul 2006

Range intersection

Version 1.10.0.0 by Xavier Xavier

Mathematical intersection of range composed of a union of intervals

Purpose: Range/interval intersectionA and B two ranges of closed intervals written as vectors [lowerbound1 upperbound1 lowerbound2 upperbound2] or as matrix [lowerbound1, lowerbound2, lowerboundn

- Purpose: Range/interval intersection
  • 1.3K (All time)
  • 1 (Last 30 days)
  • 4.8 / 5
  • Community
  • 30 May 2012

Shade area between two curves

Version 1.1.0.0 by John Bockstege

Function shades the area between two vectors.

  • 27.4K (All time)
  • 7 (Last 30 days)
  • 4.6 / 5
  • Community
  • 14 Dec 2012

Intersection of Line to Generalized Ellipse

Version 1.0.0.0 by Paurakh

This function returns the points of intersection between a line and a generalized ellipse

- LineEllipse Intersections of generalized ellipse and lines in Cartesian plane
  • 507 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 13 Jun 2014

Hardware accelerated ray-triangle intersection

Version 1.2.0.0 by Thomas Seers

GPU portable implementation of the ray-triangle intersection method of Moller and Trumbore (1997)

% Ray-triangle intersection algorithm of Muller and Trumbore (1997)% formatted for arrayfun to allow hardware acceleration% Call with gpuarray and arrayfun to execute on the GPU: thjs% may give two

- Ray-triangle intersection algorithm of Muller and Trumbore (1997)
  • 865 (All time)
  • 2 (Last 30 days)
  • 4.8 / 5
  • Community
  • 13 Feb 2015

Matlab to Ansys ICEM/Fluent and Spline Drawing Toolbox

Version 2.0.1 by Dominik Hofer

Define 2D geometry, ICEM CFD 2D surface blocking mesh, and Fluent journals in Matlab

- - Intersections of curves.
- - given lists of points and arrays of point
- - given lists of points and arrays of point
- - move a curve from one position in the curves cell
- - Get curve names for the segments of a path
- - given a list of curve end points, look for a adjoining
- - Parse blocking file for composite curves from
- - orient curves from left to right, from bottom to
- - find split curve segments, sort
- - split a spline curve at points featuring a
- - minimum distance from a point to a general
- - create new points at the boundary and connect
- - import a list of points (e.g., a NACA airfoil), shift,
- - Compare the curve data base to the edges in the
- - return parallels to a curve which lie in a specific
- - Find a list of consecutive curves/edges from the start
- - split a spline curve at the base point of a
- - arrange, and orient curve segments into one long curve,
- - Compare the curve data base to the curves in the
- - create ICEM curves
- - add new curves to the curves array, and return an indexing
- - Parse the tetin file for curves, and end points. Points
- - split a spline curve at points at specified curve
- - sort vertical/horizontal straight lines from
- - orient curves from left to right, from bottom
- - return the length of several curves, and the total
- - find out if edges matching curves are
- - Parse blocking file for blocking edges from the
- - return the cumulative curve parameter (the
- - project end points of curves on
- - create points and curves for a circle
- - return the end point indices of curves
- - remove unused points, and correct curves for the new
- - Find a list of consecutive curves/edges from the start
- - given a cell array of curves (vectors of point indices),
  • 609 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 7 Jun 2019

Hilbert Curve

Version 1.0.0.0 by Federico Forte

How to draw the famous Hilbert curve, the curve that fills an area.

This recursive function calculates coordinates of n-th order Hilbert curve. It is then possible to plot it using the "line" command.

- HILBERT Hilbert curve.
  • 7.2K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 9 Apr 2004

Bezier Curve Plotter

Version 1.0.0.0 by Sagar Aiya

constructs a Bezier curve using a given set of control points

This is a simple program that constructs a Bezier curve using a given number of control points. Besides, it also plots the corresponding characteristic polygon.

  • 2.6K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 15 Mar 2011

Koch curve

Version 1.0.0.0 by Dimitrios Piretzidis

Interface for generating the Koch curve

Application for generating the Koch curve (or Koch snowflake) fractal by selecting the number of iterations. Just unzip and run the Koch_curve_GUI.m file.

- KOCH_CURVE_GUI M-file for Koch_curve_GUI.fig
  • 1.4K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 3 Jan 2014

Generalised bezier curve matlab code

Version 1.2.0.0 by Lakshmi Narasimhan

Takes n point inputs through cursor or kerboard ,plots a bezier curve using them as control points

Presenting the one and only Generalised Bezier curve !!!! Yes folks Matlab code for n points , this program will plot the Bezier curve for any number of points be it 2 or 3 or even 100 or more points

- Hello! this will plot Bezier curve for n control points
  • 8.3K (All time)
  • 3 (Last 30 days)
  • 4.8 / 5
  • Community
  • 14 May 2014

Intersection Arbitrary Ellipsoid and a Plane

Version 1.0.0.5 by Sebahattin Bektas

This function computes the intersection any Ellipsoid and a Plane,

Arbitrary ELIPSOID and A PLANE INTERSECTION function[Aye,Bye,qx,qy,qz]=intersection_elipsoid_plane2(elp,plane) % Plane equation AA.x + BB.y + CC.z+ DD = 0% Standart Ellipsoid equation

  • 657 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 27 Jul 2023

Line-Line Intersection (2d)

Version 1.0.0.0 by Sebastian W

Calculate intersection point of two 2d lines specified with 2 points each

Calculate intersection point of two 2d lines specified with 2 points each(X1, Y1; X2, Y2; X3, Y3; X4, Y4), while 1&2 and 3&4 specify a line.Gives back NaN or Inf/-Inf if lines are parallel (=

- calculate intersection point of two 2d lines specified with 2 points each
  • 1.6K (All time)
  • 1 (Last 30 days)
  • 4.2 / 5
  • Community
  • 13 Mar 2012

MVD_Project-1

Version 1.0.1 by Ragheed Huneineh

Vehicle Longitudinal Dynamics, Acceleration Performance and Fuel Consumtion

- Intersection of curves
  • 74 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 28 Jan 2024

Intersection point of lines in 3D space

Version 1.0.0.0 by Anders Eikenes

Finding intersection point of lines in 3D space (two or more lines).

Finding intersection point of lines in 3D space (two or more lines). Will return point with the minimum sum of squared distances from point to lines (LSM-method, using pseudoinverse). % PA :

- Find intersection point of lines in 3D space, in the least squares sense.
  • 3.2K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 15 Jun 2012

Finding zeros and intersections

Version 1.0.0.0 by Patrick

With data (x,y), the function finds "x" that correspond to y=y0.

  • 834 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 3 Dec 2009

PV characteristic IV curve plotting

Version 1.0.02 by Ibrahim Abouemira

Here's a code to plot the characteristic IV curve of PV.

The function is used to calculate Isc and Voc in addition to plotting the characteristic IV curve.The functions takes the cell's parameters as inputs. The performance of the solar cell and its

  • 2K (All time)
  • 5 (Last 30 days)
  • 5.0 / 5
  • Community
  • 20 May 2019

2D Polygon edges intersection

Version 1.0.0.0 by Bruno Luong

Find the intersection points of the edges of two 2D polygons

Find the intersection points of the edges of two 2D polygons, a simple function made to follow up a Newsgroup discussion

  • 2.7K (All time)
  • 1 (Last 30 days)
  • 4.0 / 5
  • Community
  • 20 May 2010

Conics intersection

Version 1.5.0.0 by Pierluigi Taddei

Given the homogeneous matrices of two conics it recovers the (up to) four intersection points

conics, the code will detect all their intersections.For instance:___________________%a circle centered in the originE1 = [1 0 0; 0 1 0; 0 0 -3]%an ellipse centered in the originE2 = [1 0 0; 0 3 0; 0 0

- intersectConicLine - given a line and a conic detect the real intersection
- intersectConics - intersects two non degenerate conics
  • 1.5K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 30 Aug 2015

Precision-Recall and ROC Curves

Version 1.2.0.0 by Stefan Schroedl

Calculate and plot P/R and ROC curves for binary classification tasks.

trade-off recall (=true positive rate) versus false positive rate (resp. precision). Depending on the relative class frequencies, ROC and P/R curves can highlight different properties; for details, see e.g

  • 17K (All time)
  • 1 (Last 30 days)
  • 4.8 / 5
  • Community
  • 17 Mar 2010

Offset Curve

Version 1.1.0.0 by Joss Duchateau

Offset a 2D curve by a given amount

This function offsets a 2D curve by a given amount. If your curve is plotted, you can also pass the parent axis handle and offset by a given number of points, and it will respect the on-screen

  • 1.6K (All time)
  • 2 (Last 30 days)
  • 4.0 / 5
  • Community
  • 17 Aug 2015

Intersection of linear subspaces

Version 1.2.0.0 by Ondrej

Function for finding the basis of the intersection of N subspaces

This function returns the basis of the intersection of N subspaces defined by their bases, and the dimension of this intersection. The input basis vectors must be row vectors!Example:A = [1,1,-1,1

- Function for finding basis of the intersection of N subspaces
  • 760 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 6 Jul 2011

Polygon_Intersection

Version 1.1.0.0 by Guillaume JACQUENOT

This function computes n-times intersection region of shapes collection

This function computes n-times intersection region of shapes collection and allows to identify every intersection region in which shapes intersect.The function takes one argument as input, a

  • 5.9K (All time)
  • 1 (Last 30 days)
  • 3.9 / 5
  • Community
  • 19 Jun 2009

Lines Intersection

Version 1.0.0.0 by Lufuno Vhengani

This function finds the intersection point of two lines.

This function uses a method of determinants to find the intersection of two linear lines. Inputs into this function are coordinates of two lines (vectors) i.e. Line1 = [(x11,y11);(x12,y12)] and

- findintersection is a function for finding the intersection point of two lines (vectors)
  • 504 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 8 Sep 2011

EwingKang/Dubins-Curve-For-MATLAB

Version 1.0.0.0 by Ewing Kang

A MATLAB version of Dubins' Curve based on Andrew Walker's work

A MATLAB version of Dubins Curve based on Andrew Walker's workA Dubin's curve is a nearly kinemetically feasible path solution for car-like platform. The method explicitly find the trajectory

  • 1.1K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 12 Jun 2017

Cone-plane intersection

Version 1.1.0.0 by Sylvain Calinon

Compute the intersection of a cone and a plane, where the result is represented as an ellipse

This function computes the intersection of a cone and a plane, where the result is represented either as an ellipse or in the form of a Gaussian distribution.This algorithm can be used to extract

- % This function computes the intersection between a cone and a plane, and
- % Intersection between a cone and a plane.
- % This function computes the Probability Density Function (PDF) of a
  • 2.9K (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 24 Jul 2009

ROC curve

Version 2.0.0.0 by Giuseppe Cardillo

compute a ROC curve

you will put only 1 or 0 (i.e. 1 if the subject is diabetic; 0 if he/she is healthy).Run rocdemo to see an exampleThe function computes and plots the classical ROC curve and curves for Sensitivity

- Receiver Operating Characteristic (ROC) curve analysis.
  • 41.8K (All time)
  • 1 (Last 30 days)
  • 4.4 / 5
  • Community
  • 26 Nov 2025

Load more