Sum of values on the perimeter of a matrix

版本 1.0.01 (1.2 KB) 作者: Ibrahim Abouemira
The Function computes the sum of the elements of an input matrix A that are on the “perimeter” of A.
25.0 次下载
更新时间 2019/5/19

查看许可证

The Function computes the sum of the elements of an input matrix A that are on the “perimeter” of A. In other words, it adds together the elements that are in the first and last rows and columns. Note that the smallest dimension of A is at least 2.

引用格式

Ibrahim Abouemira (2024). Sum of values on the perimeter of a matrix (https://www.mathworks.com/matlabcentral/fileexchange/71595-sum-of-values-on-the-perimeter-of-a-matrix), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Operators and Elementary Operations 的更多信息

Community Treasure Hunt

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

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

Tags are added

1.0.0