小小知識點(五)——MATLAB對複數的操作

MATLAB程序 a=3+4*i %複數 real(a) %求複數的實部 imag(a) %求複數的虛部 abs(a) %求複數的模 angle(a) %求複數的相位 conj(a) %求複數的複共軛    %% Irradiance and phase resulting figure subplot(2,2,1) mesh(2.*xn./D2,2.*yn./D2,abs(Uvac).^2)
相關文章
相關標籤/搜索