Complex Function Visualization (amplitude, phase)

版本 1.0.0.0 (5.5 KB) 作者: Kanghyun
Imaging Complex Functions with a color map
219.0 次下载
更新时间 2018/4/10

查看许可证

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.

引用格式

Kanghyun (2026). Complex Function Visualization (amplitude, phase) (https://ww2.mathworks.cn/matlabcentral/fileexchange/66850-complex-function-visualization-amplitude-phase), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2017b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Images 的更多信息
版本 已发布 发行说明
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.