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 次查看(过去 30 天)
B=mean(e{:,:}(:,3)); %only gives me one answer

采纳的回答

Andrei Bobrov
Andrei Bobrov 2019-1-24
out = varfun(@mean,e,'G','DATE_UTC');

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by