If I for instance change rectangular to polar coordinate it comes out like this:
ToPolarCoordinates[{15, 20}]
{25, ArcTan[4/3]}
Can anyone tell me how to get this in degrees? So far I’ve tried this, which is described in the documentation under “Radian” Convert[n Radian,newunits] converts n Radian to a form involving units newunits.:
I’m pretty sure this is not possible, in nearly all applications radians are a more ‘natural’ unit to use, rather than degrees. Though degrees are more natural for most humans, because it give you ‘nice’ numbers…
You could use two functions to simplify your work:
Please seriously consider your context and the reason why you want to do this. If you don’t use Quantity and its associated functions, what you’ll have is a raw numeric value. It will be extremely difficult to trace the “history” of this value to determine what its unit should be. If you just want a nice presentation, then define presentation functions, not conversion functions. Keep the radian based values (or Quantity values) throughout your computations, then apply a presentation function (the result of which is not subsequently used for calculations). Performing manipulations with raw values stripped of their units is notoriously error prone (Mars Climate Orbiter was a spectacular example).