要解决此问题,请用复数常量为 x 赋值。 function x = test1( ) x = zeros(3,3)+ 0i; %x is complex for k = 1:numel(x) x(k) = 3 + 4i; end end ...
確定! 回上一頁