how to import average and maximum data from excel sheet .

1 Ansicht (letzte 30 Tage)
hi all:
i want to import avarege data of each day from above excel file but avarege of that values which is greater than 0.
second i want find greatest average value day in that excel file .
thanks

Akzeptierte Antwort

Sudhakar Shinde
Sudhakar Shinde am 20 Okt. 2020
Bearbeitet: Sudhakar Shinde am 20 Okt. 2020
[~,Num,Data]=xlsread('solar02.xlsx');
%Average values greater than zero
Average = mean(Data(2:end,3)>0);
%Maximum
max(Average);
  12 Kommentare
Engineer Batoor khan mummand
Done thank u so much dear from your helping and support.
Sudhakar Shinde
Sudhakar Shinde am 22 Okt. 2020
Welcome. glad to help.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by