# pdeellip

Draw ellipse in PDE Modeler app

## Syntax

``pdeellip(xc,yc,a,b,phi)``
``pdeellip(xc,yc,a,b,phi,label)``

## Description

example

````pdeellip(xc,yc,a,b,phi)` draws an ellipse with the center at (`xc`,`yc`), the semiaxes `a` and `b`, and the rotation `phi` (in radians). The `pdeellip` command opens the PDE Modeler app with the specified ellipse drawn in it. If the app is already open, `pdeellip` adds the specified ellipse to the app window without deleting any existing shapes.`pdeellip` updates the state of the geometry description matrix inside the PDE Modeler app to include the ellipse. 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`.```

example

````pdeellip(xc,yc,a,b,phi,label)` assigns a name to the ellipse. Otherwise, `pdeellip` uses a default name, such as `E1`, `E2`, and so on.```

## Examples

collapse all

Open the PDE Modeler app window containing an ellipse with the center at (0,0) and the semiaxes 1 and 0.3. Rotate the ellipse by $\pi /4$ counterclockwise.

`pdeellip(0,0,1,0.3,pi/4)`

Call the `pdeellip` command again to draw an ellipse with the same center and semiaxes, but rotate it by $\pi /2$ counterclockwise. The `pdeellip` command adds the second ellipse to the app window without deleting the first.

`pdeellip(0,0,1,0.3,pi/2)`

Open the PDE Modeler app window containing an ellipse with the center at (0,0) and the semiaxes 1 and 0.3. Rotate the ellipse by $\pi /4$ counterclockwise. Assign the name `ellipse1` to this ellipse.

`pdeellip(0,0,1,0.3,pi/4,'ellipse1')`

## Input Arguments

collapse all

x-coordinate of the center of the ellipse, specified as a real number.

Data Types: `double`

y-coordinate of the center of the ellipse, specified as a real number.

Data Types: `double`

Semiaxis of the ellipse, specified as a positive number.

Data Types: `double`

Semiaxis of the ellipse, specified as a positive number.

Data Types: `double`

Rotation of the ellipse, specified as a real number. The rotation value is measured in radians.

Data Types: `double`

Name of the ellipse, specified as a character vector or string scalar.

Data Types: `char` | `string`
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 3, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9069581031799316, "perplexity": 3389.765157602551}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2021-43/segments/1634323585449.31/warc/CC-MAIN-20211021230549-20211022020549-00257.warc.gz"}