Main Content

ezpolar

Polar coordinate plotter

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

collapse all

Create a polar plot of the function r(t)=1+cos(t) over the domain 0<t<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.

Version History

Introduced before R2006a