photo

Ashay Nagdive


Last seen: 4年以上 前 2020 年からアクティブ

Followers: 0   Following: 0

統計

  • First Answer

バッジを表示

Feeds

表示方法

回答済み
Write a function called halfsum that takes as input an at most two-dimensional array A and computes the sum of the elements of A that are in the lower right triangular part of A
function a = halfsum(A) [row col]= size(A); a = 0; for r= 1: row for c= 1: col if c >= r a= a + A(...

5年弱 前 | 0