Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

updated 7 months ago

Polygon simplification by Peter Bone

Simplifies a closed polygon by reducing the number of vertices to a specified number (polygon, simplification, reduction)

reduce_poly(poly, num)

reduce_poly_demo.m

image thumbnail

updated 2 years ago

Machine learning - balancing a stack of balls by Peter Bone

A genetic algorithm is used to train a neural network controller to balance a stack of balls. (machine learning, genetic algorithm, neural network)

LCP(M,q,l,u,x0,display)

MLPControl(u,NN)

crossover(gene1,gene2)

image thumbnail

updated 3 years ago

Learn French vocabulary by Peter Bone

A simple tool to learn French vocabulary with intelligent choice of test word. (french, vocabulary, learning)

french.m

learn.m

reveal.m

image thumbnail

updated 4 years ago

Ball Bounce Physics with spin by Peter Bone

Bouncing superball simulation with spin on arbitrary 2D surfaces (ball bounce, bouncing, physics)

lines_cross(l1p1, l1p2, l2p1, l2p2)

lines_intersection(l1p1, l1p2, l2p1, l2p2)

ball_bounce_spin.m

image thumbnail

updated 4 years ago

Hough Transform for circle detection by Peter Bone

An optimized Hough transform for circle detection. (image analysis, hough transform, circle)

houghcircle(Imbinary,r,thresh,region)

image thumbnail

updated 6 years ago

calcCircle by Peter Bone

Find the circle that passes through 3 non-collinear points. (fit, circle, three)

calcCircle(pt1, pt2, pt3)

image thumbnail

updated 7 years ago

Draw a circle in a matrix / image by Peter Bone

Draw a circle in a 2D matrix using the integer midpoint circle algorithm (draw, circle, 2d)

MidpointCircle(i, radius, xc, yc, value)

Contact us