Matlab crashes when using parfor

前端 未结 0 1468
粉色の甜心
粉色の甜心 2021-01-23 20:17

I run the following code in parallel, but Matlab crashed.

n = 200;
A = 5000;
a = zeros(1,n);
parfor i = 1:n
     a(i) = max(abs(eig(rand(A))));
end
相关标签:
回答
  • 消灭零回复
提交回复
热议问题