Info
This question is closed. Reopen it to edit or answer.
The filename iteration and data saving are executing in separate loops, I need to combine them.
    3 views (last 30 days)
  
       Show older comments
    
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 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!