1.实数转复数a = [10]; % 转换为复数c = complex(a); % 取实部real(c); % 取虚部imag(c); 2.复数转实数c = 3 + 4i; % 转换为实数.
確定! 回上一頁