How do I Convert a plot in real time from radians to degrees?
Show older comments
how to convert it in real time.
Answers (1)
Image Analyst
on 9 Dec 2016
0 votes
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.
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!