I am trying to get a total at the end of the column. Please can someone help me.

1 view (last 30 days)
T2018 is 50x2 table
I am trying to get a total at the end of column 2 (in row 51).

Accepted Answer

Walter Roberson
Walter Roberson on 3 May 2020
Edited: Walter Roberson on 3 May 2020
T2018.sum_2018(end+1) = sum(T2018.sum_2018);
T2018.('Fish Species')(end) = {'Total number'} ;

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!