声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1224|回复: 4

[综合讨论] 如何生成50000*50000的矩阵

[复制链接]
发表于 2011-10-16 20:28 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
在matlab中如何生成0000*50000的矩阵?
回复
分享到:

使用道具 举报

 楼主| 发表于 2011-10-16 20:29 | 显示全部楼层
急用!!!!!
发表于 2011-10-17 16:08 | 显示全部楼层
magic(50000)
发表于 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
   [J,I] = meshgrid(1:n);

>> aa=zeros(50000,50000);
??? Error using ==> zeros
Maximum variable size allowed by the program is exceeded.
发表于 2011-10-19 17:58 | 显示全部楼层
zeros(50000);
但是这个矩阵需要50000*50000*8=200M的内存,对MATLAB可能太大了
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-6-28 05:06 , Processed in 0.049010 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表