Calculate the summation of second column in both arrays

1 次查看(过去 30 天)
hi...can someone help me with this question?? i need to calculate the summation of second column in both arrays...thank u

采纳的回答

Torsten
Torsten 2024-6-8
编辑:Torsten 2024-6-8
array = [2 5;7 -4];
sum(array(:,2))
ans = 1

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by