Error in converting Decimals from Degree Minutes Seconds
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Ahsan Abbas
am 2 Apr. 2016
Kommentiert: Ahsan Abbas
am 2 Apr. 2016
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 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Azzi Abdelmalek
am 2 Apr. 2016
v=[33 31.15 0] % 31.15 is not allowed by Matlab, it should be an integer
out=dms2degrees(fix([33 33.15 0]))
Siehe auch
Kategorien
Mehr zu Marine and Underwater Vehicles finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!