Community Profile

photo

Nitin Kumar soni


Last seen: quasi 3 anni fa Attivo dal 2020

Followers: 0   Following: 0

Statistiche

All
  • First Answer
  • Solver

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(n) [row,col]=size(n); summa=0; for i=1:row for j=1:col if i<=j summa=summa+...

quasi 4 anni fa | 0