[运算] for 循环进行方阵运算

楼主: dinoptt1993 (dinoptt1993)   2016-12-27 11:06:18
小的在修课作业时遇到这个问题
http://i.imgur.com/CFr0FKG.jpg
运算处理一个1200的方阵
但是跑了12个小时来看还没有结果QQ
请问有更好的计算方式吗?
作者: jeffppp (烦..)   2016-12-27 20:10:00
bsxfun
作者: tn00364361 (小氵斿)   2016-12-27 20:52:00
D1要记得preallocate memory话说那个绿色的箭头…
作者: mailroach   2016-12-28 01:41:00
要记得分号,不输出会快不少这问题用repmat做,应该可以闪掉for

Links booklink

Contact Us: admin [ a t ] ucptt.com