pdecirc
Draw circle in PDE Modeler app
Description
pdecirc(
draws a circle with the center at (xc
,yc
,R
)xc
,yc
)
and the radius R
. The pdecirc
command opens
the PDE Modeler app with the specified circle already drawn in it. If the app is
already open, pdecirc
adds the specified circle to the app window
without deleting any existing shapes.
pdecirc
updates the state of the geometry description matrix
inside the PDE Modeler app to include the circle. You can export the geometry
description matrix from the PDE Modeler app to the MATLAB® Workspace by selecting
DrawExport Geometry Description, Set
Formula, Labels.... For details on the format of the geometry
description matrix, see decsg
.
Examples
Input Arguments
Tips
pdecirc
opens the PDE Modeler app and draws a circle. If, instead,
you want to draw circles in a MATLAB figure window, choose one of these approaches:
Use the
plot
command, for example:t = linspace(0,2*pi); plot(cos(t),sin(t))
Use the
rectangle
function with theCurvature
name-value pair set to[1 1]
.Use the Image Processing Toolbox™
viscircles
(Image Processing Toolbox) function.
Version History
Introduced before R2006a
See Also
pdeellip
| pdepoly
| pderect
| PDE
Modeler