I am trying to get a total at the end of the column. Please can someone help me.
1 view (last 30 days)
Show older comments
Milosha Britto Nordbø
on 3 May 2020
Commented: Milosha Britto Nordbø
on 3 May 2020
T2018 is 50x2 table
I am trying to get a total at the end of column 2 (in row 51).
1 Comment
Accepted Answer
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)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!