フィルターのクリア

Calculate the summation of second column in both arrays

1 回表示 (過去 30 日間)
Rozh
Rozh 2024 年 6 月 8 日
編集済み: Torsten 2024 年 6 月 8 日
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 Center および File ExchangeData Types についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by