MATLAB: How to find the angle between 2 points

MATLAB

I want to find the angle just like in this image in degree. Or I can't find with just 2 points ?

Best Answer

atan2d(y2-y1,x2-x1);