when i tried this code for color gradient in RGB ,i faced a problem.
atan() function gives us range from(-pi,pi).
and to convert (0,360) degree i do
but this does not give me satisfactory result.
i want a angle matrix mean 'teta' has value (0,360) degree
No products are associated with this question.
Play games and win prizes!Learn more