I have a complex matrix Z (evolving in time) and would like to know at which points both the real and the imaginary part of Z are null. I can do it graphically using the following code:
figure set(gca,'fontsize',16) for k = 1:size(T) cla; contour(HI0,HR0,real(Z{k}),[0,0],'b.') hold on contour(HI0,HR0,imag(Z{k}),[0,0],'r.') hold on legend(strcat('Re(Z): T=',num2str(T(k))),strcat('Im(Z): T=',num2str(T(k)))); xlabel H_I ylabel H_R pause(0.5); end
which shows the intersections of the isocurves Re(Z)=0 and Im(Z)=0, but I am stuck here. If I take abs(Z), I am afraid not to get all the zeros.
Thanks a lot!
Best Answer