Products & Services Solutions Academia Support User Community Company

Learn more about Partial Differential Equation Toolbox   

pdecirc - Draw circle

Syntax

pdecirc(xc,yc,radius) 
pdecirc(xc,yc,radius,label)

Description

pdecirc(xc,yc,radius) draws a circle with center in (xc,yc) and radius radius. If the pdetool GUI is not active, it is automatically started, and the circle is drawn in an empty geometry model.

The optional argument label assigns a name to the circle (otherwise a default name is chosen).

The state of the Geometry Description matrix inside pdetool is updated to include the circle. You can export the Geometry Description matrix from pdetool by using the Export Geometry Description option from the Draw menu. For a details on the format of the Geometry Description matrix, see decsg.

Examples

The following command starts pdetool and draws a unit circle.

pdecirc(0,0,1)

See Also

pdeellip

Partial Differential Equation Toolbox

pdepoly

Partial Differential Equation Toolbox

pderect

Partial Differential Equation Toolbox

pdetool

Partial Differential Equation Toolbox

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS