MatLab函数:pol2cart() 您所在的位置:网站首页 matlab二维坐标函数语句 MatLab函数:pol2cart()

MatLab函数:pol2cart()

2024-07-11 11:27| 来源: 网络整理| 查看: 265

pol2cart 

Transform polar or cylindrical coordinates to Cartesian

Syntax

[X,Y] = pol2cart(THETA,RHO) [X,Y,Z] = pol2cart(THETA,RHO,Z)

Description

[X,Y] = pol2cart(THETA,RHO) transforms the polar coordinate data stored in corresponding elements of THETA and RHO to two-dimensional Cartesian, or xy, coordinates. The arrays THETA and RHO must be the same size (or either can be scalar). The values in THETA must be in radians.

[X,Y,Z] = pol2cart(THETA,RHO,Z) transforms the cylindrical coordinate data stored in corresponding elements of THETA, RHO, and Z to three-dimensional Cartesian, or xyz, coordinates. The arrays THETA , RHO, and Z must be the same size (or any can be scalar). The values in THETA must be in radians.

Algorithm

The mapping from polar and cylindrical coordinates to Cartesian coordinates is:



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有