x1=rao*cos(alpha);y1=rao*sin(alpha);这两行改为x1=rao.*cos(alpha);y1=rao.*sin(alpha);矩阵操作时,要加点,也就是在运算符左边加“.”