查看单个帖子
旧 2008-11-25, 21:38   #1
xy2245
初级会员
 
注册日期: 2008-11-04
年龄: 42
帖子: 6
声望力: 0
xy2245 正向着好的方向发展
默认 [求助] 循环保存

I got a pb here:
I'm intressted in compass rose, so I've to save a matrix which contains 3 compounds

so, I did

for month=1:12
rosewind=[direction, percentage, velocity];
save rosewind_month.mat rosewind % I want to get 12 files whos names are rosewind_1.mat rosewind_2.mat etc
end

but I really don't know how to program it correctly

That will be very nice if sb. can gives me some advices.
Thanks
xy2245 当前离线   回复时引用此帖