photo

SANTOSH KAMBLE


Last seen: ongeveer 4 jaar ago Active since 2020

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
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 ...

meer dan 4 jaar ago | 0