arc question about implementing angle using linspace
Afficher commentaires plus anciens
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 commentaires
madhan ravi
le 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)
Réponses (1)
madhan ravi
le 17 Mar 2020
0 votes
if you are looking to convert radians to degrees use the function rad2deg() function
1 commentaire
Amal Fennich
le 17 Mar 2020
Catégories
En savoir plus sur Axes Transformations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!