Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

degree 2 radian

Status
Not open for further replies.

gokhan79

Mechanical
Joined
May 3, 2001
Messages
3
Location
TR
Hi everybody,
i just want to ask:
while using matlab programming, it calculates in radian format. How I can change it to degree format?
take care
HGG
 
I had this problem myself, not sure if there is a Matlab funciton, so I created my own

function deg=D2R(angle)

deg = angle * (180/pi);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top