Sebastián Añazco
2019년부터 활동
Followers: 0 Following: 0
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(A) summa = 0; for n = 1 : size (A,1) for m = 1:size(A,2) if n >m a = 0; ...
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(A) summa = 0; for n = 1 : size (A,1) for m = 1:size(A,2) if n >m a = 0; ...
4년 초과 전 | 0