Write a MATLAB function called rad2deg that will take an angle in radians as the input argument and return the angle converted to degrees.
조회 수: 2 (최근 30일)
이전 댓글 표시
idk how to write this
댓글 수: 0
답변 (2개)
Steven Lord
2017년 9월 28일
If this is not a homework assignment, I recommend using the function that has been included in MATLAB since release R2015b.
If this is a homework assignment, show what you've tried and ask a specific question about where you're having difficulty and you may receive some suggestions.
댓글 수: 0
KSSV
2017년 9월 28일
Don't post silly question...you can use the community for tough and complex situations. What is there to write a function?
You need to multiply radians with pi/180 to convert. There is also inbuilt function for that rad2deg
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!