how sort data in the excel
Show older comments
Hi there,
I'm looking for assistance sorting data ( increasing and decreasing order ). I've attached a spreadsheet, and I'd like to order the mean, standard deviation, and variance values as well as the filename.
I need advice on the strategy using the sample code I've attached below.
Thank you
filename = "sort_dataset.xlsx";
sheet = 1;
xlRange = 'A1:E253';
[num,txt,raw] = xlsread(filename,sheet,xlRange)
2 Comments
Dyuman Joshi
on 17 Sep 2023
So you want to sort the data by mean and store the corresponding filenames, and do the same for standard deviation and variance?
If not, then please specify what is the output you want to obtain.
Life is Wonderful
on 17 Sep 2023
Accepted Answer
More Answers (0)
Categories
Find more on Shifting and Sorting Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

