arc question about implementing angle using linspace
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Adam Danz
el 19 de Mzo. de 2020
Editada: Adam Danz
el 19 de Mzo. de 2020
"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)
Respuestas (1)
madhan ravi
el 17 de Mzo. de 2020
if you are looking to convert radians to degrees use the function rad2deg() function
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!