i have a matlab code for feature extraction, how i apply this code to all my dataset in a file .without applying it one at atime.

1 view (last 30 days)
i have a Matlab code for feature extraction, how i apply this code to all my dataset in a file .without applying it one at a time. i need a code with a function that run through all the dataset at once.

Accepted Answer

ANKUR KUMAR
ANKUR KUMAR on 28 Sep 2018
F=dir('*.nc') % write extension
for i =1:length(F)
% write your commands. call the filename as F(i).name
F(i).name
end

More Answers (0)

Community Treasure Hunt

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

Start Hunting!