声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 961|回复: 1

求助,快疯了 !

[复制链接]
发表于 2006-5-23 17:03 | 显示全部楼层 |阅读模式

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

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

x
用matlab编写的小程序求频率,大意如下:<BR>syms w<BR>tp=eye(4)<BR>for i=1:n<BR>t=[ w]%含w的矩阵<BR>tp=t*tp<BR>end<BR>我运行时当n大点时,提示:out of memory<BR>哪位教教我怎么弄呀,急呀,就这小玩意弄得快疯了!<BR>
回复
分享到:

使用道具 举报

发表于 2006-5-23 20:50 | 显示全部楼层
不知道你的n是多大,反正我的机器上n是1000还没问题,我查到了out of memory错误的说明:<BR>MEMORY Help for memory limitations.<BR>    If the OUT OF MEMORY error message is encountered, there is<BR>    no more room in memory for new variables. You must free up<BR>    some space before you may proceed. One way to free up space<BR>    is to delete some variables (see CLEAR). Another is to<BR>    issue the command PACK (See PACK). PACK compresses the data<BR>    in memory, opening up larger contiguous blocks.<BR> <BR>    Here are some additional system specific tips:<BR>    Windows:    Increase virtual memory by using System in the Control Panel.<BR>    Unix:       Ask your system manager to increase your Swap Space.<BR>大概是说你可以用clear来清理内存,或者用pack来压缩内存中的数据,你打help clear(pack)试试。<BR>或者提高虚拟内存。
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-5-24 15:28 , Processed in 0.058758 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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