You are on page 1of 1

u = [1 2 0];

v = [1 0 0];
CosTheta = dot(u,v)/(norm(u)*norm(v));
ThetaInDegrees = acosd(CosTheta);

You might also like