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