arc question about implementing angle using linspace
Show older comments
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 Comments
madhan ravi
on 17 Mar 2020
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)
Answers (1)
madhan ravi
on 17 Mar 2020
0 votes
if you are looking to convert radians to degrees use the function rad2deg() function
1 Comment
Amal Fennich
on 17 Mar 2020
Categories
Find more on Axes Transformations 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!