Skip to contents

Convert angles in a unit circle to point coordinates (x, y)

Usage

anglesToPoints(angles.grad)

Arguments

angles.grad

vector of angles in degree

Value

matrix with columns x and y containing the coordinates of points corresponding to the given angles in a unit circle

Examples

plot(anglesToPoints(equidistantAngles(n = 10)), type = "b")