PLECS 3.4 Online Help

Rectangular to Polar

Purpose

Convert Cartesian coordinates to polar coordinates

Library

Control / Transformations

Description

pict

This block transforms a signal representing rectangular coordinates [x,y]   into polar coordinates [r,θ]  :

      ∘ -------
r =     x2 + y2
θ =   atan2(x,y)

θ   is calculated in the range - π ≤ θ ≤ π  .