Sum of array's elements in the lower right triangular part
Version 1.0.1 (1.25 KB) by
Ibrahim Abouemira
The function takes as input at the most 2-D array. It computes the sum of the elements that are in the lower right triangular part
The function takes as input at the most two-dimensional array. It computes the sum of the elements of that are in the lower right triangular part(counter-diagonal elements).
For example, if the input is [1 2; 3 4; 5 6; 7 8], then the function would return 21.
Cite As
Ibrahim Abouemira (2025). Sum of array's elements in the lower right triangular part (https://www.mathworks.com/matlabcentral/fileexchange/71592-sum-of-array-s-elements-in-the-lower-right-triangular-part), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2017a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Get Started with Phased Array System Toolbox in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.