how to import average and maximum data from excel sheet .

1 次查看(过去 30 天)
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

采纳的回答

Sudhakar Shinde
Sudhakar Shinde 2020-10-20
编辑:Sudhakar Shinde 2020-10-20
[~,Num,Data]=xlsread('solar02.xlsx');
%Average values greater than zero
Average = mean(Data(2:end,3)>0);
%Maximum
max(Average);
  12 个评论

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by