SUM(A, col)

版本 1.0.0.0 (1.1 KB) 作者: Carson
Summation function for adding elements of entire column in array
367.0 次下载
更新时间 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
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0