i have 100 .mat file name "A00001-A00100". i want to create loop that do calculation (written in code) one by one on each file but my code just do calculation on first file (A00001.mat) only. please help!,
% loop to do same calculation on each file,
for i=1:100 load(['A000' num2str(i,'%02d') '.mat' ]); %calculations
N=9000; gqrs('A00001',N); ann=rdann('A00001','qrs',[],N); [tm,sig]=rdsamp('A00001',[],N);end
Best Answer