Jump to content
Wikibooks The Free Textbook Project

MATLAB Programming/Polar Plot

From Wikibooks, open books for an open world

Introduction

[edit | edit source ]

The polar command accepts polar coordinates, plots them in a Cartesian plane, and draws the polar grid on the plane.

Usage

[edit | edit source ]

Here's how a plot can be created.

>>t=0:.01:2*pi;
>>polar(t,sin(2*t).*cos(2*t),'--r')
>>gridon% Turn on the grid

AltStyle によって変換されたページ (->オリジナル) /