Complex Function Visualization (amplitude, phase)

Imaging Complex Functions with a color map

Vous suivez désormais cette soumission

This function provides a visualization tool of complex functions and 2D-real vector field.
IMAGECF(Z)
IMAGECF(Z,Zmax)
IMAGECF(X+iY,Z)
IMAGECF(X+iY,Z,Zmax)
IMAGECF(ax,___)
IMAGECF(___, option) color of zero. 'w'-white 'k'-black
Example1>
[x,y] = meshgrid(-2:.1:2);
z = x + 1i*y;
imagecf(x+1i*y, z.^2+1,1,'k');
Example2> Mapping real 2D vector field
[x,y] = meshgrid(-2:.1:2);
vx = -y;
vy = x;
imagecf(x+1i*y, vx+1i*vy);
One may modify the code line 134-137 for colorset changes.

Citation pour cette source

Kanghyun (2026). Complex Function Visualization (amplitude, phase) (https://fr.mathworks.com/matlabcentral/fileexchange/66850-complex-function-visualization-amplitude-phase), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Images dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

line 159-160
Malfunction of an axes handle is improved.

line 162-163 updated
cax=newplot(cax);
cax.Parent.CurrentAxes = cax;
Summary & description updates.