{
  "name": "MATLAB polar-coordinate functions: inputs, angle conventions and documented ranges",
  "description": "Compares polarplot, cart2pol and pol2cart in MATLAB by input, angle unit, angle reference and documented range or behaviour, compiled from the MathWorks reference pages.",
  "page": "https://casrai.org/guides/matlab-polar-coordinates",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-16T21:58:42Z",
  "temporalCoverage": "2026",
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Function",
      "unit": "",
      "description": ""
    },
    {
      "name": "Purpose",
      "unit": "",
      "description": ""
    },
    {
      "name": "Angle unit",
      "unit": "",
      "description": ""
    },
    {
      "name": "Angle reference",
      "unit": "",
      "description": ""
    },
    {
      "name": "Documented range or behaviour",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Function": "polarplot",
      "Purpose": "Plot theta and rho on polar axes",
      "Angle unit": "radians",
      "Angle reference": "Not stated beyond radians input",
      "Documented range or behaviour": "Negative rho mirrored through the origin by default"
    },
    {
      "Function": "cart2pol",
      "Purpose": "Cartesian x,y to polar theta,rho",
      "Angle unit": "radians",
      "Angle reference": "Counterclockwise from positive x-axis",
      "Documented range or behaviour": "theta in [-pi, pi]; z passed through unchanged"
    },
    {
      "Function": "pol2cart",
      "Purpose": "Polar theta,rho to Cartesian x,y",
      "Angle unit": "radians",
      "Angle reference": "Counterclockwise from positive x-axis",
      "Documented range or behaviour": "Real inputs only; complex inputs error as of R2026a"
    }
  ],
  "sources": [
    {
      "title": "MathWorks polarplot",
      "url": "https://www.mathworks.com/help/matlab/ref/polarplot.html",
      "accessed": "2026-11-12"
    },
    {
      "title": "MathWorks cart2pol",
      "url": "https://www.mathworks.com/help/matlab/ref/cart2pol.html",
      "accessed": "2026-11-12"
    },
    {
      "title": "MathWorks pol2cart",
      "url": "https://www.mathworks.com/help/matlab/ref/pol2cart.html",
      "accessed": "2026-11-12"
    }
  ]
}