Open multiple csv files store it in a variable equal to the number of csv files and do some calculation and compare

1 view (last 30 days)
I have multiple csv files,i want to open it and store the data in variables and find out the max from each row of the variables and bring it as output. Currently am using
f=dir(fullfile('*.xlsx'));
for i=1:length(f)
S(i).a=xlsread(f(i).name);
end
First i need to find out the max value of a column say3 across all rows across the whole structure and after finding this i have to get the full row values corresponding to that max value
Am a bit inexperienced programmer

Answers (1)

madhan ravi
madhan ravi on 12 Nov 2018

Tags

Community Treasure Hunt

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

Start Hunting!