wwzqbx 发表于 2011-10-16 20:28

如何生成50000*50000的矩阵

在matlab中如何生成0000*50000的矩阵?

wwzqbx 发表于 2011-10-16 20:29

急用!!!!!

sun1987yang 发表于 2011-10-17 16:08

magic(50000)

ChaChing 发表于 2011-10-18 23:05

我想LZ想问的是这个情况!?
>> magic(50000)
??? Maximum variable size allowed by the program is exceeded.

Error in ==> meshgrid at 44
    xx = xx(ones(ny, 1),:);

Error in ==> magic at 24
    = meshgrid(1:n);

>> aa=zeros(50000,50000);
??? Error using ==> zeros
Maximum variable size allowed by the program is exceeded.

VibrationMaster 发表于 2011-10-19 17:58

zeros(50000);
但是这个矩阵需要50000*50000*8=200M的内存,对MATLAB可能太大了
页: [1]
查看完整版本: 如何生成50000*50000的矩阵