Community Profile

photo

SANTOSH KAMBLE


Last seen: oltre 3 anni fa Attivo dal 2020

Followers: 0   Following: 0

Statistiche

  • First Answer

Visualizza badge

Feeds

Visto da

Risposto
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(x) [row col]=size(x); summa=0; for r=1:row for c=1:col y=x(r,c); if r<=c ...

quasi 4 anni fa | 0