plotCircle

PURPOSE ^

SYNOPSIS ^

function h = plotCircle(x, y, r)

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function h = plotCircle(x, y, r)
0002     hold on
0003     th = 0:pi/50:2*pi;
0004     xunit = r * cos(th) + x;
0005     yunit = r * sin(th) + y;
0006     h = plot(xunit, yunit);
0007     hold off
0008 end

Generated on Thu 10-Dec-2020 17:34:27 by m2html © 2005