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

조회 수: 1 (최근 30일)
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

답변 (1개)

madhan ravi
madhan ravi 2018년 11월 12일

카테고리

Help CenterFile Exchange에서 Adding custom doc에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by