www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/CosineofcomplexanglesspecifiedindegreesExample.m

    %% Cosine of complex angles specified in degrees  
% Create an array of three complex angles and compute the cosine.   

%%  
z = [180+i 45+2i 10+3i];
y = cosd(z)