I have a 18x3 timetable and i want to get the average of G and T columns from 1-9 and 10-18 then put them in a new table 2x3 but i don't know how to do it

1 Ansicht (letzte 30 Tage)
B=mean(e{:,:}(:,3)); %only gives me one answer

Akzeptierte Antwort

Andrei Bobrov
Andrei Bobrov am 24 Jan. 2019
out = varfun(@mean,e,'G','DATE_UTC');

Weitere Antworten (0)

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by