Error in converting Decimals from Degree Minutes Seconds
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello, I am facing problem in converting dms to dd, i have a matrix of 4x3 as shown below
i am using following command to convert in degree decimals,
angleInDegrees = dms2degrees(dms)
but i always got following error:
Need assistance ?
댓글 수: 0
채택된 답변
추가 답변 (1개)
Azzi Abdelmalek
2016년 4월 2일
v=[33 31.15 0] % 31.15 is not allowed by Matlab, it should be an integer
out=dms2degrees(fix([33 33.15 0]))
참고 항목
카테고리
Help Center 및 File Exchange에서 Marine and Underwater Vehicles에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!