|
|
|
| R2012a Documentation → Partial Differential Equation Toolbox | |
Learn more about Partial Differential Equation Toolbox |
|
| Contents | Index |
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 | pdeellip | pdepoly | pdetool

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |