Summarize data in a table

조회 수: 1 (최근 30일)
Bas
Bas 2015년 9월 18일
댓글: Bas 2015년 9월 18일
Hi,
I'm looking for a nice way to summarize my data.
I have 5 matrices:
A contains unique(year(t)) a vector with years B contains crew IDs C,D,E contain information related to the crew: salary etc. for each year (so rows= length(B); columns= length(A))
I want to somehow visualize the sum of C, D and E for each year in a summary/table and save that as a pdf, just like I did with my figures/plots.
Anyone knows how to do this?

답변 (1개)

Thorsten
Thorsten 2015년 9월 18일
If C is a years x crews matrix of salaries, you get the sum of the crews' salaries for each year as
sum(C, 2)
Same for the information in D and E.
  댓글 수: 1
Bas
Bas 2015년 9월 18일
Hi, I know how to get the sum of the values. But I'm looking for a way to visualize it in a table and save that as a PDF..

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Tables에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by