Code covered by the BSD License  

Highlights from
3 integer algorithms for drawing circles

Be the first to rate this file! 11 Downloads (last 30 days) File Size: 3.03 KB File ID: #40213
image thumbnail

3 integer algorithms for drawing circles

by

 

3 implementations of Bresenham and Midpoint algorithm.

| Watch this File

File Information
Description

All return X and Y values of point coordinates with given radius and zeros center.

R=7;
[X1,Y1]=midpoint_circle(R);
[X2,Y2]=bresenham_circle(R);
[X3,Y3]=bresenham_circle2(R);

See circle_test.m for examples.

Acknowledgements

Bresenham Circle inspired this file.

Required Products MATLAB
MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us