How do i write a user defined function for problem 6.4 in the textbook?

1 次查看(过去 30 天)
I don't know how to start the function to convert degrees to dms

回答(1 个)

Arnab Sen
Arnab Sen 2016-2-23
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:

类别

Help CenterFile Exchange 中查找有关 Elementary Polygons 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by