SUM(A, col)

バージョン 1.0.0.0 (1.11 KB) 作成者: Carson
Summation function for adding elements of entire column in array
ダウンロード: 367
更新 2011/5/5

ライセンスの表示

This function eases the transition to MATLAB for Excel users. The function will add all elements in a column through the function call:

x = SUM(A, col);

where A is an array and col is the column over which the user would like to add all elements. This format works similarly to the Excel "sum()" function and will ideally prove useful to beginning MATLAB users.

引用

Carson (2024). SUM(A, col) (https://www.mathworks.com/matlabcentral/fileexchange/31337-sum-a-col), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2010b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
タグ タグを追加
謝辞

ヒントを与えたファイル: Sumatoria de elementos diagonales de matriz

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0