This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

ezpolar

Polar coordinate plotter

Syntax

ezpolar(f)
ezpolar(f, [a b])

Description

example

ezpolar(f) plots the polar curve r = f(θ) over the default domain 0 < θ < 2π.

ezpolar(f, [a b]) plots f for a < θ < b.

Examples

Polar Plot of Symbolic Expression

This example creates a polar plot of the function, 1 + cos(t), over the domain [0, 2π].

syms t
ezpolar(1 + cos(t))

Input Arguments

collapse all

Input, specified as a symbolic function or expression.

Angle to plot over, specified as a vector, or a symbolic vector.

Introduced before R2006a