How do i write a user defined function for problem 6.4 in the textbook?
1 view (last 30 days)
Show older comments
Brooke Barrett on 16 Feb 2016
I don't know how to start the function to convert degrees to dms
Arnab Sen on 23 Feb 2016
Although I don't know the exact question, you can use in-built 'degrees2dms' function to convert degrees to dms using following command:
>>DMS = degrees2dms(angleInDegrees)
For more details about 'degrees2dms', refer to the following link:
Find more on Language Fundamentals in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!