MATLAB 帮助中心
Convert homogeneous coordinates to Cartesian coordinates
cart = hom2cart(hom)
cart = hom2cart(hom) converts a set of homogeneous points to Cartesian coordinates.
cart
hom
example
collapse all
h = [0.2785 0.9575 0.1576 0.5; 0.5469 0.9649 0.9706 0.5]; c = hom2cart(h)
c = 2×3 0.5570 1.9150 0.3152 1.0938 1.9298 1.9412
Homogeneous points, returned as an n-by-k matrix, containing n points. k must be greater than or equal to 2.
Example: [0.2785 0.9575 0.1576 0.5; 0.5469 0.9649 0.9706 0.5]
[0.2785 0.9575 0.1576 0.5; 0.5469 0.9649 0.9706 0.5]
Cartesian coordinates, specified as an n-by-(k-1) matrix, containing n points. Each row of cart represents a point in k-dimensional space. k must be greater than or equal to 1.
Example: [0.8147 0.1270 0.6324; 0.9058 0.9134 0.0975]
[0.8147 0.1270 0.6324; 0.9058 0.9134 0.0975]
expand all
hom2cart
The hom argument now accepts 2-D homogeneous points and hom2cart outputs 2-D Cartesian coordinates.
cart2hom
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处