MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看英文原文。
将度转换为度-分
DM = degrees2dm(angleInDegrees)
DM = degrees2dm(angleInDegrees) 将包含小数部分(有时称为“十进制度数”)的度数值转换为度分表示法。
DM
angleInDegrees
示例
全部折叠
angleInDegrees = [ 30.8457722555556; ... -82.0444189583333; ... -0.504756513888889;... 0.004116666666667]; dm = degrees2dm(angleInDegrees)
dm = 4×2 30.0000 50.7463 -82.0000 2.6651 0 -30.2854 0 0.2470
n
以度为单位的角度,指定为 n 元素实数列向量。
以度-分表示的角度,以 n×2 实数矩阵的形式返回。每行指定一个角度,格式为 [D M]:
[D M]
D 包含“degrees”元素,且为整数值。
D
M 包含“分钟”元素,可能包含小数部分。
M
在任意给定的 DM 行中,首个非零元素的符号指示整体角度的符号。正数表示北纬或东经;负数表示南纬或西经。该行中任何剩余元素的值均为非负数。
在 R2007a 中推出
dm2degrees | deg2rad | degrees2dms | rad2deg
dm2degrees
deg2rad
degrees2dms
rad2deg
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处