Dear all, I have .TXT data with name ZA000060.TXT, ZA000120.TXT, ZA000180.TXT, ZA000240.TXT, ZA000300.TXT. I load those data with these syntax
for k=60:60:300 aa = sprintf('%03d',k); filename = sprintf('ZA000%03d.TXT', k); ZA{k}=load(filename);endfor k = 1:length(ZA)x(:) = ZA{k};% do stuff with x
end
but why the result just store the last data on ZA{k} ? not every data store after looping. how to fix this ?? any help would be great. Best regard,
Best Answer