Browse CSV file and calculate the mean

26 Ansichten (letzte 30 Tage)
Abbass SAYEGH
Abbass SAYEGH am 21 Sep. 2020
Bearbeitet: Ameer Hamza am 22 Sep. 2020
Hello everyone,
I am on the end on my projet. I need to browse a csv file and to calculate the mean of these values. Then i will put this mean in a new csv file
Does anyone have suggestion or programme for help ?
Thanks

Antworten (1)

Ameer Hamza
Ameer Hamza am 21 Sep. 2020
2) Calculate the mean values of the data according to its dimensions.
  4 Kommentare
Abbass SAYEGH
Abbass SAYEGH am 22 Sep. 2020
like for example the range A1:A20
Ameer Hamza
Ameer Hamza am 22 Sep. 2020
Bearbeitet: Ameer Hamza am 22 Sep. 2020
yes, you can specify the range too. For example,
range = input('Input the range: ', 's'); % input A1:A20
data = readmatrix('filename.csv', 'range', range)

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by