| Partial Differential Equation Toolbox™ | ![]() |
pderect(xy) pderect(xy,label)
pderect(xy) draws a rectangle with corner coordinates defined by xy=[xmin xmax ymin ymax]. If the pdetool GUI is not active, it is automatically started, and the rectangle is drawn in an empty geometry model.
The optional argument label assigns a name to the rectangle (otherwise a default name is chosen).
The state of the Geometry Description matrix inside pdetool is updated to include the rectangle. You can export the Geometry Description matrix from pdetool by selecting the Export Geometry Description option from the Draw menu. For details on the format of the Geometry Description matrix, see decsg.
The following command sequence starts pdetool and draws the L-shaped membrane as the union of three squares.
pderect([-1 0 -1 0]) pderect([0 1 -1 0]) pderect([0 1 0 1])
| pdecirc | Partial Differential Equation Toolbox™ |
| pdeellip | Partial Differential Equation Toolbox |
| pdepoly | Partial Differential Equation Toolbox |
| pdetool | Partial Differential Equation Toolbox |
![]() | pdeprtni | pdesdp, pdesde, pdesdt | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |