Community Profile


Geetanjali Alle

Last seen: circa 3 anni fa Attivo dal 2020


  • First Answer

Visualizza badge

Content Feed

Visto da

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 summa = halfsum(M) [row column]=size(M); summa=0; for i=1:row for j=1:column if i<j||i==j ...

circa 3 anni fa | 0