circus() - just a simple circle function to generate circle info for plotting

Version 1.1.0.0 (1.87 KB) by Brad
give circus a radius and it returns circumference coordinates to plot
356 Downloads
Updated Wed, 05 Feb 2014 22:52:17 +0000

View License

CIRCUS

[xp yp] = circus(r)
[xp yp] = circus(r,xc,yc)
[xp yp zp] = circus(r,xc,yc,zc)

Description

[xp yp] = circus(r) takes a radius 'r' and returns vectors xp and yp corresponding to the x,y boundary points of a circle centered at 0

[xp yp] = circus(r,xc,yc) takes a radius 'r' and the x,y coordinate-center positions 'xc' and 'yc' and returns vectors xp and yp corresponding to the x,y boundary points of a circle centered at xc,yc

[xp yp zp] = circus(r,xc,yc,zc) same as circus(r,xc,yc) and includes z-axis coordinates

Cite As

Brad (2024). circus() - just a simple circle function to generate circle info for plotting (https://www.mathworks.com/matlabcentral/fileexchange/45399-circus-just-a-simple-circle-function-to-generate-circle-info-for-plotting), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Fourier Analysis and Filtering in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

updated fileexchange image