how to import average and maximum data from excel sheet .
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Engineer Batoor khan mummand
el 20 de Oct. de 2020
Comentada: Sudhakar Shinde
el 22 de Oct. de 2020
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
0 comentarios
Respuesta aceptada
Sudhakar Shinde
el 20 de Oct. de 2020
Editada: Sudhakar Shinde
el 20 de Oct. de 2020
[~,Num,Data]=xlsread('solar02.xlsx');
%Average values greater than zero
Average = mean(Data(2:end,3)>0);
%Maximum
max(Average);
12 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!