【发布时间】:2016-05-15 11:20:56
【问题描述】:
我想实现这个:
for k = 1:52
map = reshape(map,[375 91 223]);
x[i] = map;
% create a new variable for each iteration x1,x2,x3,...x52 which stores 'map', 'map' is 375x91x223 size and each iteration produces a new 'map'.
end
我试图避免使用 eval,目前我考虑将其写入记事本,然后将其重新导入,但这也需要很多时间。任何帮助表示赞赏。谢谢。
【问题讨论】:
标签: arrays matlab loops variables indexing