mujee
Member level 1
hey guys
i have some syntax problem in this statement
d=sqrt((x(1:length(x))-r*sin(phi))^2 + r^2 *cos^2(phi))
it gives me error on cos^2(phi)...can anyone tell me how to write cos squared of angle phi
i have some syntax problem in this statement
d=sqrt((x(1:length(x))-r*sin(phi))^2 + r^2 *cos^2(phi))
it gives me error on cos^2(phi)...can anyone tell me how to write cos squared of angle phi