Sum of values on the perimeter of a matrix

The Function computes the sum of the elements of an input matrix A that are on the “perimeter” of A.
24 Downloads
Aktualisiert 19 Mai 2019

Lizenz anzeigen

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.

Zitieren als

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. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2019a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Operators and Elementary Operations finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.01

Tags are added

1.0.0