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 summa=halfsum(m) summa=0; for i=1:size(m,1) for j=1:size(m,2) if(i<=j) ...
    
  
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) summa=0; for i=1:size(m,1) for j=1:size(m,2) if(i<=j) ...
6년 초과 전 | 0
