Hi im trying to plot the imaginary and real parts of the array, but the figure seems dioriented.
here is the code:
r1=5; r2=1; r3=5; r4=7; AP=5; s=0.873;
thata2=0:0.0314:6.283185;
z(i)=r1-(r2*exp((thata2(i))*1i));
b(i)=(z(i)).*conj(z(i))+(r4)^2 -(r3)^2;
T3(i)=(-b(i)+sqrt((b(i)).^2-(4.*(a(i)).*(c(i)))))/(2.*(a(i)));
T3n(i)=(-b(i)-sqrt((b(i)).^2-(4.*(a(i)).*(c(i)))))/(2.*(a(i)));
T4(i)=(z(i)+(r4.*T3(i)))/r3;
T4n(i)=(z(i)+(r4.*T3n(i)))/r3;
RA(i)=r2.*exp((thata2(i))*1i);
RAP(i)=(r2.*exp((thata2(i)).*1i))+(AP.*exp(((A(i))).*1i));
plot(real(RAP),imag(RAP));
title('paths of points A and P')
title('thata 3 and thata 4 Vs thata 2')
ylabel('thata 3 & thata 4')
legend('thata3','thata 4')