|
准备开学上复变函数,图1.9. 图后有 MATLAB源代码,绘制箭头需下载 arrow3.m
clear,clc,close all
z = 1 + i;
r = 2^(1/8);
t = 0:0.05:6.3; plot(r*cos(t),r*sin(t),'k');hold on% 画圆
text(1,1,['$$',strcat(num2str(1),' + i'),'$$'],'interpreter','latex','fontsize',14);
for k = 0:3
w(k+1) = r*exp(i*((pi/4+2*k*pi)/4));
text(real(w(k+1)),imag(w(k+1)),['$$',strcat('w_',num2str(k)),'$$'],...
'interpreter','latex','fontsize',14);
end
x = real(w); y = imag(w); vx = [1,x]'; vy = [1,y]';
arrow3(zeros(5,2),[vx,vy],'1o',0.08,[],[],[],0.5)% 画向量
% 画圆内接正方形
x = [x,x(1)]; y = [y,y(1)]; plot(x,y);
axis equal;grid on
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-11-23 03:57
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社