Hi, this is my code.
theta(k) = 45l = x.*cosd(theta(k))+y.*sind(theta(k));l(1,1) == l(3,3);x(1,1)*cosd(45)+ y(1,1)*sind(45) == x(3,3)*cosd(45)+ y(3,3)*sind(45);x(1,1)+ y(1,1)==x(3,3)+ y(3,3);
However, matlab it saying
l(1,1) == l(3,3)
is false,
x(1,1)*cosd(45)+ y(1,1)*sind(45) == x(3,3)*cosd(45)+ y(3,3)*sind(45)
is false, and
x(1,1)+ y(1,1)==x(3,3)+ y(3,3)
is true. I am wondering why because I believe l(1,1) == l(3,3) is true.
Best Answer