arc question about implementing angle using linspace
显示 更早的评论
r_angl = linspace(pi/4, 3*pi/4, N);
what does this mean? because I have an angle of 3.433 degree and I do not know how to implement it here ! any help ?
2 个评论
madhan ravi
2020-3-17
what is your question? could you rephrase it?
"what does this mean?"
Check out the linspace page in the documentation. That line is basically creating N points between (1/4)pi (45 deg) and (3/4)pi (135 deg).
- deg = rad * 180/pi
- deg = rad2deg(rad)
- rad = deg * pi/180
- rad = deg2rad(deg)
回答(1 个)
madhan ravi
2020-3-17
0 个投票
if you are looking to convert radians to degrees use the function rad2deg() function
类别
在 帮助中心 和 File Exchange 中查找有关 Axes Transformations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!