How do I Convert a plot in real time from radians to degrees?

조회 수: 4 (최근 30일)
Mari Y
Mari Y 2016년 12월 9일
편집: Mari Y 2016년 12월 10일
how to convert it in real time.

답변 (1개)

Image Analyst
Image Analyst 2016년 12월 9일
Your "y" values will be correct if your "x" array contains value representing radians. They will not be larger. The y axis will most likely scale automatically, unless you used ylim(), but regardless of the y axis scale, the points will be plotted vertically with the correct angle in degrees.
If you think rad2deg() or multiplying by 180/pi does not work for some radian value, then tell us the number it doesn't work for. And even show a screenshot to show us/prove it.

Community Treasure Hunt

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

Start Hunting!

Translated by