Imaginary part of a function while real part is positive

18 visualizaciones (últimos 30 días)
murat kara
murat kara el 26 de Oct. de 2015
Editada: Thorsten el 26 de Oct. de 2015
Hi All,
Could anybody suggest/help a way to plot a function's imaginary part while its real part is positive in the contour plot picture?
For example; say one wants to plot the following in the complex plane for z=x+iy,
Im(log(z.^0.5)) when Re(log(z.^0.5))>0
or it could be any other random complex function...
Thanks a lot

Respuestas (1)

Thorsten
Thorsten el 26 de Oct. de 2015
Editada: Thorsten el 26 de Oct. de 2015
F = log(Z.^0.5);
contour(imag(F).*(real(F)>0))

Categorías

Más información sobre Contour Plots en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by