how to sum up all rows and put the value in a new column next to the last one
1 次查看(过去 30 天)
显示 更早的评论
Hello I am trying to sum up all the rows in a matrix, and put the sum in a new column just next to the last one in the same matrix. the number of rows is 1340, but the number of columns is random, does anyone have any idea how to make it in matlab?
many thanks!
2 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!