Info

此问题已关闭。 请重新打开它进行编辑或回答。

The filename iteration and data saving are executing in separate loops, I need to combine them.

1 次查看(过去 30 天)
Could someone indicate me how to combine the filename and data?
Thanks Bruno
for FileNum= 1 : length(files);
filename=files(FileNum).name;
filt1 = fdesign.highpass('n,f3db',4,2*10*(1/2000));
H1 = design(filt1,'butter');
Filter = filter(H1,data);
save_data=fullfile(directory_save,filename);
save(save_data,'Filter', '-ASCII');
end

回答(0 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by