MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助] 循环保存 (https://www.labfans.com/bbs/showthread.php?t=5478)

xy2245 2008-11-25 21:38

[求助] 循环保存
 
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 [COLOR="DarkGreen"]% I want to get 12 files whos names are rosewind_1.mat rosewind_2.mat etc[/COLOR]
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


所有时间均为北京时间。现在的时间是 12:06

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.